Search the Community
Showing results for tags 'linker'.
-
Hi, I have implemented a microchip AN1310 bootloader on PIC18F25K80.Its works on first program via the uart, but does not work again after my firmware has been loaded on the microcontroller. After checking the Pic's datasheet , the "application reset vector" is at location 0000h but then again the AN1310 bootloader has a "bootloader reset vector" at the same address 0000h . This means when i download my program code via the uart bootloader, it overwrites the "bootloader reset vector" at 0000h with the "application reset vector". Hence i cannot use the bootloader after the 1st program code do
- 5 replies
-
- linker
- bootloader
-
(and 1 more)
Tagged with:
-
Hi, I'm having simliar troubles as this post -> http://forum.sourceb...?showtopic=5030 However my device is the 12F683 and it seems the eeprom functions are unresolved. The fix mentioned, a lot of searching and a bit of hacking with the eeprom.h file did not resolve the issue. The source compiles fine - the linking fails and no hex is generated. #pragma DATA _EEPROM, 6 // this works fine val = eeprom_read(0x00); // this causes the error shown below Linking... "C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.p