Search found 89 matches

by iain wilkie
Wed Mar 27, 2019 9:55 am
Forum: Flowcode V8
Topic: Which Programmer do we use now ???
Replies: 1
Views: 529

Which Programmer do we use now ???

I note the HP3006 programmer is not available anymore. So which AVR programmer should we now purchase in order to be able to program within the Flowcode 8 development environment ?

Iain
by iain wilkie
Thu Mar 21, 2019 3:37 pm
Forum: General Programming
Topic: HP3006 AVR Programmer Discontinued !!!
Replies: 3
Views: 1043

HP3006 AVR Programmer Discontinued !!!

Just went to buy another one for my customer only to find its discontinued.

Is there a new programmer ? ....

Iain
by iain wilkie
Wed Jan 30, 2019 10:20 am
Forum: Flowcode V8
Topic: Very Very Inefficient !!
Replies: 6
Views: 826

Re: Very Very Inefficient !!

Martin,

The -03 is ok !! .... Its just a bit of a worry that for some reason why had MM decided to use a different optimization level that what they have used in the past ? .... Is there a reason ?? Perhaps Benj or some of the other guys can give us a heads up on this ......

Iain
by iain wilkie
Tue Jan 29, 2019 8:46 pm
Forum: Flowcode V8
Topic: Very Very Inefficient !!
Replies: 6
Views: 826

Re: Very Very Inefficient !!

Martin,

Yup the very same ..... I just thought there must be an easy way for this to be implemented instead of editing the compiler details.

Surely this could be a good added feature.

Iain
by iain wilkie
Tue Jan 29, 2019 8:10 pm
Forum: Flowcode V8
Topic: Very Very Inefficient !!
Replies: 6
Views: 826

Very Very Inefficient !!

Just revisiting a particular problem covered previously where it was discovered that the AVR compiler in V8 is very in-efficient compared to that which is used in V4 in particular when calling a timer 0 interrupt. I am using the ATTiny25 and the interrupt is set at every 32uS giving me approx 200 po...
by iain wilkie
Sun Jan 20, 2019 9:28 pm
Forum: E-blocks
Topic: EB086/85
Replies: 1
Views: 921

EB086/85

I note that these boards are discontinued.

I assume there is a replacement but cannot find anything !

Iain
by iain wilkie
Mon Jan 07, 2019 1:00 pm
Forum: Flowcode V8
Topic: AVR lock bits
Replies: 2
Views: 443

Re: AVR lock bits

Hi Benj,

Currently using the AVRispmk2 programmer, but have ordered the tinyusb one from Matrix but it’s not here yet.

Once it’s here that (hopefully shortly) that will be my go to programmer.

Iain
by iain wilkie
Sun Jan 06, 2019 8:05 pm
Forum: Flowcode V8
Topic: Avr ASM and Flowcode 8
Replies: 5
Views: 839

Re: Avr ASM and Flowcode 8

Thanks Martin,

Now thats something I would never had figured out on my own !!

Much appreciated !!

iain
by iain wilkie
Sat Jan 05, 2019 9:15 pm
Forum: Flowcode V8
Topic: Avr ASM and Flowcode 8
Replies: 5
Views: 839

Avr ASM and Flowcode 8

Was trying to embed some AVR assembler code using the C box and placing “asm” in front of the mnemonics but when you generate the hex the compiler returns an error saying it doesn’t understand the assembler mnemonic .... even simple ones like CLC (clear carry) is not recognised.

Can anyone help ?
by iain wilkie
Thu Jan 03, 2019 9:58 pm
Forum: Flowcode V8
Topic: AVR lock bits
Replies: 2
Views: 443

AVR lock bits

Is there a way of setting the lock bits in an AVR from within Flowcode ?
Easy to do using Avrdudess but would be handy if it could be done from within Flowcode.
Using an ATTiny261.

Cheers
by iain wilkie
Wed Dec 26, 2018 8:45 pm
Forum: Bug Reports
Topic: Updates!
Replies: 5
Views: 1140

Re: Updates!

Argh .... updated with the 8.1.1 fix and stopped my AVRISP programmer working !! .... seems to reset the driver to the default ?
by iain wilkie
Fri Dec 14, 2018 10:40 am
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 3850

Re: Possible Stack Overflow ???

Hi Guys, I can confirm that changing the compiler option from Os to O3 cures the original stack overflow problem due to the reduced stack overhead used in the interrupt routine. So it might be an idea to have this option easily available from within Flowcode. Can I also ask if it could be changed to...
by iain wilkie
Tue Dec 04, 2018 9:48 pm
Forum: Feature Requests
Topic: View .lst file Please
Replies: 0
Views: 489

View .lst file Please

Way back when I used V4 you could view the C and The ASM files from within Flowcode. In V8 I see that you can only view the C file now ! I can still look at the .lst file but can only do this outside Flowcode which is just a bit annoying. Please change this so we can access these files from within. ...
by iain wilkie
Mon Nov 26, 2018 11:07 am
Forum: Flowcode V8
Topic: Another Interrupt Problem .. This time ATTiny26 !
Replies: 2
Views: 827

Re: Another Interrupt Problem .. This time ATTiny26 !

Hi Leigh,

That sorts the problem .... thanks

iain
by iain wilkie
Sat Nov 24, 2018 9:08 pm
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 3850

Re: Possible Stack Overflow ???

Hi Medelec,

Thanks but unfortunately I still get the same result. I think we need to wait for an update from MM

Cheers

Iain
by iain wilkie
Sat Nov 24, 2018 10:13 am
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 3850

Re: Possible Stack Overflow ???

Martin, Part of the answer is here ... https://www.matrixtsl.com/mmforums/viewtopic.php?f=76&t=20611 This wan the initial problem I had with no interrupt vector generated for the ATTiny13 .... so this part has been updated. However I am now having the same problem with the ATTIny26 !! You are se...
by iain wilkie
Sat Nov 24, 2018 9:57 am
Forum: Flowcode V8
Topic: Another Interrupt Problem .. This time ATTiny26 !
Replies: 2
Views: 827

Another Interrupt Problem .. This time ATTiny26 !

Having had the interrupt problem fixed for the ATTiny13, I now find I have the same type of problem this time with the ATTiny26 !!
No Interrupt vector is created and various errors appear ... see attached.
ATTiny26 Interrupt Problem.jpg
ATTiny26 Interrupt Problem.jpg (54.38 KiB) Viewed 827 times
by iain wilkie
Fri Nov 23, 2018 8:28 pm
Forum: Flowcode V8
Topic: Stack Overflow Protection
Replies: 2
Views: 583

Re: Stack Overflow Protection

Benj,

Thanks for the reply but I don't see or understand how this info allows an informed assessment of stack overflow ???

Iain
by iain wilkie
Fri Nov 23, 2018 2:05 pm
Forum: Flowcode V8
Topic: Stack Overflow Protection
Replies: 2
Views: 583

Stack Overflow Protection

So after discovering that an older program I had in V4 would not run in an ATTiny13 in FC8 due to the stack overflowing, I am wondering what measures FC8 could take to flag this up as an error or a warning, this should be I would have though be a fairly important check given that the programmer may ...
by iain wilkie
Fri Nov 23, 2018 12:08 pm
Forum: Flowcode V8
Topic: Just Bought FC8 Pro ... Now cannot use !
Replies: 5
Views: 941

Re: Just Bought FC8 Pro ... Now cannot use !

Thanks Benj.

Did you get my PM ??

Iain
by iain wilkie
Fri Nov 23, 2018 11:55 am
Forum: Flowcode V8
Topic: Just Bought FC8 Pro ... Now cannot use !
Replies: 5
Views: 941

Re: Just Bought FC8 Pro ... Now cannot use !

Hi Steve,

Thanks ... what I did was uninstall and reinstall the AVR compiler and now its fine. Mind you it looks like I'm still running the 30 day free trial as
it says at the bottom of the screen that I have 18 days left and all the modules are available ???

Iain
by iain wilkie
Fri Nov 23, 2018 11:25 am
Forum: Flowcode V8
Topic: Just Bought FC8 Pro ... Now cannot use !
Replies: 5
Views: 941

Just Bought FC8 Pro ... Now cannot use !

Having evaluated the 30 day free version, I decided to take advantage of the black friday offer. I have bought a Pro licence + AVR chip pack + Basic I/O Went through the licencing procedure but now I cannot compile with an error saying the AVR toolchain is not installed. After a bit of faffing aroun...
by iain wilkie
Thu Nov 22, 2018 8:10 pm
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 3850

Re: Possible Stack Overflow ???

Ok ... all confirmed, using an ATTiny25 solves the problem. So stack overflow was the reason and the fact that ATTINY13 is ok in V4 and not in V8 is because V4 uses much less stack especially when calling an interrupt. Which raises the question ..... Should we not be receiving an error and warning m...
by iain wilkie
Wed Nov 21, 2018 10:09 pm
Forum: Flowcode V8
Topic: Possible Stack Overflow ???
Replies: 28
Views: 3850

Re: Possible Stack Overflow ???

Martin, I totally agree with you. Looking at the .lst outputs from V4 and V8 it is clear the V8 output used much more stack than the V4. A stack problem would definitely explain every scenario experienced. I have ordered up a ATTiny25 which is basically exactly the same as the 13 but has twice as mu...