Hello, I'm trying to use the USART bootloader for PIC32MK1024GPE1024.
I have used MPLAB X IDE v5.15 and Harmony v2.06 to generate the linker scripts (see attachments).
For the bootloader I have just created a new project. In the MPLAB Harmony Configurator I have checked "Use Bootloader Library" and "Build a Bootloader" and added the corresponding Pins and Drivers.
To create a simple application I took the blinky_leds project from the harmony peripheral ports examples. Here, I have checked "Use Bootloader Library" and "Build an Application Linker Script" in addition to the setup of the example.
In this simple setup the firmware upload with the unified bootloader works and the application seems to run.
As a second step I have added Debug output to the application. I have checked "Use Console System Service?" and "Use Debug System Service?" and the corresponding Pins and Drivers. Note that the USART Driver is implemented as dynamic and runs in "Interrupt Mode".
Now the application is not working anymore.
The real application (which is already deloped) also doesn't run. I have tested some settings and to me it seems that the interrupts seem to be the problem in the application but I have no clue what to do to get the application working.
I have noticed that the linker scripts both have the "OUTPUT_ARCH(pic32mx)" in it. I have selected the PIC32MK1024GPE1024 in harmony. I am not very firm withlinkerscripts, but the PIC32MK seems to have anonther memory mapping as the PIC32MX. Is it possible that the interrupt vector table is not written to the correct memory area or something?
I have found this thread https://www.microchip.com/forums/FindPost/1029115
but it is from 2017 so I don't know if microchip has changed the linker files somehow. I can't figure it out. And again without any interrupts in the application it seems to run.
Could somebody please help me?
Thanks in advance and best regards!