Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MPLABX, XC16 and PIC24F
#1
I have been trying to assemble ds30loader with xc16 in MPLABX for a pic24f. For some reason it is generating a .text section starting at 0x200 for __data_init_standard (according to the map file). I guess that there is some linker setting that I need, but I can not work it out. When I inspect the program it is clear that the 0x0 goto vector points to the bootloader program towards the end of program memory, but the bootloader does not seem to work.

Does the bootloader need the __data_init_standard section, and should that section actually be part of the bootloader program in memory? If so, how do I change the linker or assembler settings to put it in the right place?

I know I could just build it in MPLAB with C30, but I would have to download and configure all of that. MPLAB X is pretty stable since version 2.00 so I figure it is time to make sure we can compile ds30loader in it.
Reply


Messages In This Thread
MPLABX, XC16 and PIC24F - by Alistair - 2014-07-13, 12:42:35
RE: MPLABX, XC16 and PIC24F - by Alistair - 2014-07-16, 11:25:40
RE: MPLABX, XC16 and PIC24F - by Alistair - 2014-07-27, 06:18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)