Search found 97 matches

by iain wilkie
Fri Apr 22, 2022 4:36 pm
Forum: Flowcode V8
Topic: ATMEGA48 Timer0 Interrupt in Simulation
Replies: 1
Views: 2076

ATMEGA48 Timer0 Interrupt in Simulation

Just a quick query .... I am free-running the timer0 which interrupts every 16mS. Within the interrupt is a 32 bit counter that I can set which will give me a timeout in my main program. The interrupt is working fine (checked on hardware) but when I simulate the interrupt seems to operate too fast, ...
by iain wilkie
Fri Dec 11, 2020 9:37 pm
Forum: Flowcode V8
Topic: What does the "Z" signify ?
Replies: 4
Views: 1872

Re: What does the "Z" signify ?

Cheers Martin, great explanation 👍

Iain
by iain wilkie
Fri Dec 11, 2020 8:33 pm
Forum: Flowcode V8
Topic: What does the "Z" signify ?
Replies: 4
Views: 1872

What does the "Z" signify ?

I know this is probably a stupid question but I cannot find the answer anywhere !

What does the "Z" signify in the Properties Settings .... see attached screenshot
Screen.png
Screen.png (37.05 KiB) Viewed 1872 times
.
I also note in Flowcode 9 in can have a red "+" associated with it ??

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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