2013-09-11, 20:01:19
(2013-09-11, 08:37:39)Mikael Gustavsson Wrote:(2013-09-07, 22:44:30)Mikael Gustavsson Wrote: Ok. Please zip and post the boot loader project and I will help you.
Sorry!
I do not have a real project. I just changed the lines in the code, and compile the MCP Project in the \ds30 Loader\firmware_16-bit folder!
In attachment you can get the folder, with my changes.
1) add .equ __33FJ128GP802, 1 line in setting.inc, for my PIC
2) add p33FJ128GP802.gld in the mcp project (Linker Script > Add Files...)
3) Chose my dsPIC from Configure > Select Devices... (dsPIC33FJ128GP802)
4) replaced (for experiment) the .ifdef HAS_PPS in user_code.inc, with ifndef directive.
Stop, end of my changes.
4) Compile and program the chip with PicKit3.
I need help to configure correct serial pin (21-22) for the UART1 or UART2.