bootloader WSDemo 256rfr2

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

 

I am attempting to run the serial bootloader application on ATMEGA256RFR2 using the WSDemo example.

Without bootloader the application works fine.

 

I use JTAG ICE 3 to write the bootloader hex file into the micro and Bootloader PC Tool 1.2.2 to write the app hex file.

 

I have commented  #define PDS_NO_BOOTLOADER_SUPPORT from configuration.h

I have used different fuses configuration (FF-18-62 ; FE-9A-62; ...) and test to modify some parameters in Makefile_All_MegaRf_Atmega256rfr2_8Mhz_Gcc, lnkm256rfr2s.xcl  and atmega256rfr2.ld files. 

 

The main application initiate but wrong in SYS_RunTask() execution...is cyclic response but no network or other parameters loaded.

 

Durring more than 1 week I was trying many options and now I'm desperate.

 

Please, can somebody give me some indications about  what I should look at to resolve this problem and be able to use bootloader with WSDemo?

 

 

 

 

Thanks in advance.

 

Mario J.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SOLVED!!!!!!!!!!!!!!!!!!!!!!

 

Fuses: FF/FE - 9A - 62 

-D_BOOT_SECTION_START=3F000

Take care: 3F0 = 2x1F8  and 3E0 = 2x1F0

 

Using :

  • bootloader *.hex file original from BitCloud3.3 (attached)
  • *.srec file with Bootloader_PC_Tool

 

Let me know if my solution works for you. I'll feel better.

 

yes

Attachment(s):