need help!

Information and discussion regarding the main Firewing development board

need help!

Postby richardb » Thu Jan 09, 2014 8:10 pm

OK so I'm obviously being a bit dense,

I've receive the firewing board, and I thought id try using the standard config with an example program.

I've set the target board to r2

selected the firewing loader.

but when I try to compile and load, I compiles ok but I get an error message.
"an error has occurred trying to program the hex file into the target device."

"user program will overwrite bootloader"

whats going on ?
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: need help!

Postby David John Barker » Thu Jan 09, 2014 8:32 pm

I'm assuming R2 with PIC32 installed? If so, ensure Firewing 32 and Firewing R2 are selected, as shown below. Then rebuild and program.

toolbar-fw-32.jpg
Firewing 32
toolbar-fw-32.jpg (8.96 KiB) Viewed 23956 times
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: need help!

Postby richardb » Thu Jan 09, 2014 9:38 pm

doh!

I didn't realise you had fitted a pic 32 to the board!! I almost ordered one too.

Thanks again

Richard
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: need help!

Postby David John Barker » Thu Jan 09, 2014 9:55 pm

Yes, you put pic32 on your order. You can use a pic24, but you will need the r2 firmware installed...
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: need help!

Postby richardb » Thu Jan 09, 2014 10:16 pm

no its not a problem, it's the pic32 that I'm interested in but I just didn't expect such a good service:)
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: need help!

Postby richardb » Thu Jan 09, 2014 11:01 pm

a few comments

an led flash prog would be good. as I did confuse myself a little with port numbers being out by 1 compared to the shield.

the proguart example generates garbage as the baud rate is set to 19200 but the usb uart is 38400.

and progLCDPlus didn't compile.
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: need help!

Postby David John Barker » Fri Jan 10, 2014 12:20 am

> the proguart example generates garbage as the baud rate is set to 19200 but the usb uart is 38400.

I've just checked the install and it's 38400

> and progLCDPlus didn't compile.

Again, just downloaded and run the install - progLCDPlus.bas compiles fine

I suspect you may have old sample files. I assume you are using win7? If so, I would

  • Close Firewing
  • make sure you delete all files in "c:\users\<name>\my documents\firewing\samples"
  • Restart Firewing
this will force the sample files to be updated - samples files are not automatically updated each time you install Firewing, for hopefully obvious reasons. Performing the above after an install will ensure the latest files are copied over.
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: need help!

Postby richardb » Fri Jan 10, 2014 5:52 am

ok that makes sence. I'd originally installed firewing ages ago. then updated it yesterday when I realised that it had the pic32

thanks
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Re: need help!

Postby David John Barker » Fri Jan 10, 2014 12:14 pm

Let me know if it fixes the problem for you - if it does, I will document it on the wiki...
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: need help!

Postby richardb » Fri Jan 10, 2014 5:11 pm

That fixed the problem,

thanks
richardb
 
Posts: 63
Joined: Thu Aug 01, 2013 10:40 am

Next

Return to Main Board

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x