Search found 94 matches

by iain wilkie
Sat Apr 18, 2020 8:04 pm
Forum: Bug Reports
Topic: Bad mistake in FC8!
Replies: 48
Views: 5318

Re: Bad mistake in FC8!

Great solution, got me up and running again :)

Iain
by iain wilkie
Sat Apr 18, 2020 8:01 pm
Forum: Flowcode V8
Topic: HELP !!!! .... V8 Crashed and will not start
Replies: 2
Views: 343

Re: HELP !!!! .... V8 Crashed and will not start

Martin,

Your a life-saver ..... that post from tiny worked !
Hate these problems, working on a job to be ready on Monday.
Many thanks

Iain
by iain wilkie
Sat Apr 18, 2020 6:13 pm
Forum: Flowcode V8
Topic: HELP !!!! .... V8 Crashed and will not start
Replies: 2
Views: 343

HELP !!!! .... V8 Crashed and will not start

This is about as bad as it gets ! V8 crashed on me, I re-booted but when I double click the V8 icon there is a very quick "flash" of the normal sign on screen but then simply goes back to my normal desktop !! Nothing I did would change this .... so I un-installed and re-installed but it still does e...
by iain wilkie
Fri Apr 17, 2020 1:08 pm
Forum: Flowcode V8
Topic: Activating SLEEP in Attiny13
Replies: 6
Views: 411

Re: Activating SLEEP in Attiny13

Hi Martin,

After a bit of investigation found that this worked in a C block

asm ("sleep");

iain
by iain wilkie
Fri Apr 17, 2020 9:49 am
Forum: Flowcode V8
Topic: Activating SLEEP in Attiny13
Replies: 6
Views: 411

Activating SLEEP in Attiny13

Hi Guys, How do I execute a SLEEP instruction in an Attiny13 to make it power down. Prior to executing the instruction I understand I need to set MCUCR register to 0x30 and can use a C block to do this ... but I am not sure what I need to do next to execute the actual instruction in Flowcode ? Found...
by iain wilkie
Wed Mar 27, 2019 9:55 am
Forum: Flowcode V8
Topic: Which Programmer do we use now ???
Replies: 1
Views: 781

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: 1728

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: 1151

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: 1151

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: 1151

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: 1797

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: 635

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: 1323

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: 1323

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: 635

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: 1576

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: 4983

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: 672

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: 1148

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: 4983

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: 4983

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 seeing...
by iain wilkie
Sat Nov 24, 2018 9:57 am
Forum: Flowcode V8
Topic: Another Interrupt Problem .. This time ATTiny26 !
Replies: 2
Views: 1148

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 1148 times
by iain wilkie
Fri Nov 23, 2018 8:28 pm
Forum: Flowcode V8
Topic: Stack Overflow Protection
Replies: 2
Views: 808

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: 808

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 ...