2010-10-16, 09:41:29
(This post was last modified: 2012-12-23, 20:04:24 by Mikael Gustavsson.)
I have just downloaded the dsloader software.
The Gui software compiled fine in Visual Studio 2010 and I managed to compile the Bootloader firmware. (Used MPLAB config settings and changed xxx lines to set up PIC18F6722, UART2, 16MHz oscillator etc).
When I view the program memory it shows a goto at location 0000 to 1FE40. At 1FE40 to 1FFCC resides the bootloader code.
Next I want to test the bootloader with an application. The application is written in "C". Do I need to offset the code so that it does not write the usual Goto 0010 at start vector, or do you compile as usual and the bootloader places it in the correct location?
Thanks
The Gui software compiled fine in Visual Studio 2010 and I managed to compile the Bootloader firmware. (Used MPLAB config settings and changed xxx lines to set up PIC18F6722, UART2, 16MHz oscillator etc).
When I view the program memory it shows a goto at location 0000 to 1FE40. At 1FE40 to 1FFCC resides the bootloader code.
Next I want to test the bootloader with an application. The application is written in "C". Do I need to offset the code so that it does not write the usual Goto 0010 at start vector, or do you compile as usual and the bootloader places it in the correct location?
Thanks