Search found 97 matches

by iain wilkie
Wed Jun 30, 2010 5:39 pm
Forum: C and ASM Programming
Topic: AVR vs. PIC
Replies: 4
Views: 8239

Re: AVR vs. PIC

AVR for me too ..... maybe they are different now but their architecture was very strange in the beginning. This I think was due to the fact that pics where originally programmable devices for specific things like toys and garage door openers... it then became apparent that they may be useful to bri...
by iain wilkie
Tue Jun 29, 2010 3:05 pm
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Re: Slow writing to LCD

Hi Sean,

That all seems fine now .... thanks

Iain
:P
by iain wilkie
Mon Jun 28, 2010 6:39 pm
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Re: Slow writing to LCD

Just completed this project BUT for 1 second delays I need to program 50ms delays !!!!

Still no responce from you guys regarding this one ...... anybody listening ??????????????????????

Iain
by iain wilkie
Sun Jun 27, 2010 9:31 am
Forum: Flowcode V4
Topic: C Documentation for AVR
Replies: 1
Views: 1954

C Documentation for AVR

I may be missing something here, but being new to Flowcode (and C for that matter), I am sometimes struggling to understand and find all the various C statements I can put into the C blocks. Although Flowcode is excellent on its own, the C block is an extremely important element in that it give the ...
by iain wilkie
Fri Jun 25, 2010 9:32 am
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Re: Slow writing to LCD

Have had no response to this query so far .....

Is there any progress ?

Iain
by iain wilkie
Thu Jun 24, 2010 4:42 pm
Forum: Flowcode V4
Topic: Interrupt Vector in AVR
Replies: 1
Views: 1816

Interrupt Vector in AVR

I am using an ATMEGA16 with Flowcode4. When specifying an interrupt with Timer 0 you can only select timer overflow (which would create a vector at $012.) Now I am wanting to use the clear timer on compare interrupt. I am quite happy setting up all the various registers to allow this within a C bloc...
by iain wilkie
Thu Jun 24, 2010 7:47 am
Forum: C and ASM Programming
Topic: New to C Please help !
Replies: 3
Views: 4603

Re: New to C Please help !

Steve, That works !!. Being new to C I am not sure about all the pragma stuff yet, so this solution suits me, but I want to understand it. So I understand that before the multiplication ended up as a 16 bit result and that would be causing a problem. So why does putting the unsigned long on the vari...
by iain wilkie
Wed Jun 23, 2010 6:28 pm
Forum: C and ASM Programming
Topic: New to C Please help !
Replies: 3
Views: 4603

New to C Please help !

This will probably have you all laughing but I am stuck .... I need to do a calculation that needs long integers. It also involves a Flowcode variable I will call TESTNO. Now TESTNO is a defined variable in me Flowcode BUT it is only an integer (16 bit) TESTNO can never be any larger than 9999. What...
by iain wilkie
Wed Jun 23, 2010 11:04 am
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Re: Slow writing to LCD

Hi Ben, Have attched piece of code to demonstrate this ..... Basically the target ATMEGA16 is set to run at 1Mhz .... This is not changed at anytime. If I set the project to 1000000 and download into the device, the LCD loads up and writes HELLO no problem but the LED flashes on and off at about 20 ...
by iain wilkie
Mon Jun 21, 2010 7:18 pm
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Re: Slow writing to LCD

Hi Ben,

I will recheck this and if there is still a problem I will send a sample file.

Cheers

Iain
by iain wilkie
Sun Jun 20, 2010 6:51 pm
Forum: Flowcode V4
Topic: Slow writing to LCD
Replies: 7
Views: 4438

Slow writing to LCD

I did a wee program with a simple 1 second delay loop and downloaded it into my ATMEGA16 device. It ran but the delay was very much longer than 1 second. I then noticed that the micro oscillator was configured for 1 Mhz and my project was set to 20Mhz .... so I changed this to 1Mhz and download agai...
by iain wilkie
Tue Jun 01, 2010 11:52 am
Forum: Flowcode 4 Bugs
Topic: Runs ok in HW but not in simultator
Replies: 3
Views: 3241

Re: Runs ok in HW but not in simultator

Hi Ben,

Thats what I was doing .... stepping through .... even from the beginning of the program. I'll try it again with the sim speed turned back.

Iain

Just tried that and its exactly the same, gets to the end of the Read Analogues Macro and never returns to the Rampup macro !
:x
Iain
by iain wilkie
Sat May 29, 2010 5:23 pm
Forum: Flowcode 4 Bugs
Topic: Runs ok in HW but not in simultator
Replies: 3
Views: 3241

Runs ok in HW but not in simultator

This program assembles ok and downloads into my hardware where it seems to run fine. However if I run it in the simulator it runs to a point where it gets caught in a loop where it is sitting at the END of "READ_ANALOGUES" macro where it seems to never return back to the "RAMP_UP" program. While it ...
by iain wilkie
Fri May 28, 2010 4:25 pm
Forum: General / Misc
Topic: Cannot post in the Flowcode 4 section
Replies: 3
Views: 7624

Re: Cannot post in the Flowcode 4 section

Hi Ben, Thanks for the reply ..... I looked through the V4 marketing sheet again, but I must admit I cannot see anything about the USB only being applicable to the PIC only ... maybe I am a bit blind !. As for posting in on the forum, I did input name & email address, so I suppose I should be grante...
by iain wilkie
Fri May 28, 2010 1:40 pm
Forum: General / Misc
Topic: Cannot post in the Flowcode 4 section
Replies: 3
Views: 7624

Cannot post in the Flowcode 4 section

I am going mad !!! ... I have purchased Flowcode 4 for AVR and have some questions (i.e it seems to have no USB support !), however I cannot get a "NEW TOPIC" button in the V4 forum. I have gone throught the "Online Resources" route as described and I am logged in and it tells me I am currently up t...
by iain wilkie
Wed May 26, 2010 9:40 am
Forum: General / Misc
Topic: Chip Configuration
Replies: 2
Views: 6615

Re: Chip Configuration

Hi Sean,

Thanks for the information ......

Iain
by iain wilkie
Mon May 24, 2010 8:21 am
Forum: General / Misc
Topic: Chip Configuration
Replies: 2
Views: 6615

Chip Configuration

I am doing a program on an AVR TINY13. I also have AVR Studio installed on my P.C. and in order to be able to use my ATARISP2 USB programmer I have changed the programmer location for the Atmel STK500. This works fine BUT I cannot seem to get the normal Chip Configuration screens .... just the manua...
by iain wilkie
Sat Jul 18, 2009 7:05 pm
Forum: General / Misc
Topic: Flowcode V3 for AVR
Replies: 5
Views: 5839

Re: Flowcode V3 for AVR

Hi Sean, Thanks again for the info.... I can now get a few basic statements in AVR assembler that compile ok.... such as on my example before it needs to look like this.. asm ("ldi r16,0x80"); However there is the need for labels for jumps, how to manuipulate variables set up be the C code etc etc, ...
by iain wilkie
Fri Jul 17, 2009 8:07 am
Forum: General / Misc
Topic: Flowcode V3 for AVR
Replies: 5
Views: 5839

Re: Flowcode V3 for AVR

Thanks for your explanation Sean. I now understand that the Flowcode is fairly basic in its functions regarding what is available on whichever AVR is chosen. I also understand that these shortcomings can be addressed by using the "C Block". As I mentioned I am an ASM programmer and have very little ...
by iain wilkie
Wed Jul 15, 2009 6:25 pm
Forum: General / Misc
Topic: Flowcode V3 for AVR
Replies: 5
Views: 5839

Flowcode V3 for AVR

Having just bought this product, I am now finding it difficult to find information on how to use certain function. Please understand that I am a seasoned assembly programmer in the AVR and though that this tool may be a quicker and better way forward. I have managed quite quickly to master all the b...
by iain wilkie
Wed Jul 15, 2009 10:37 am
Forum: Bugs / Application Errors
Topic: Cannot Program via AVRISP MK2
Replies: 18
Views: 22016

Re: Cannot Program via AVRISP MK2

Fantastic..... All up and running now.

Thanks
by iain wilkie
Wed Jul 15, 2009 8:29 am
Forum: Bugs / Application Errors
Topic: Cannot Program via AVRISP MK2
Replies: 18
Views: 22016

Cannot Program via AVRISP MK2

I have just installed my purchased copy of Flowcode for AVR's and all is well. However I cannot get the hex file to program into the micro. The message I get is..... Launching the programmer... C:\Program Files\Matrix Multimedia\Flowcode_AVR\Tools\MX_bats\avrc.bat m8535 avrispmkii usb "Flowcode1.hex...