Hi,
I need to add a simple bootloader to my product.
To start understanding how things work in Synergy, I created two projects in a new workspace: Bootloader and Application.
Bootloader blinks a LED each seconds. Application blinks a LED each 2 seconds.
Then, I edited the S3A7.Id file inside the Application. They are like this now:
Bootloader:
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x0100000 /* 1M */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x0030000 /* 192K */
DATA_FLASH (rx) : ORIGIN = 0x40100000, LENGTH = 0x0004000 /* 16K */
QSPI_FLASH (rx) : ORIGIN = 0x60000000, LENGTH = 0x4000000 /* 64M, Change in QSPI section below also */
}
Application:
MEMORY
{
FLASH (rx) : ORIGIN = 0x00080000, LENGTH = 0x0080000 /* 1M */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x0030000 /* 192K */
DATA_FLASH (rx) : ORIGIN = 0x40100000, LENGTH = 0x0004000 /* 16K */
QSPI_FLASH (rx) : ORIGIN = 0x60000000, LENGTH = 0x4000000 /* 64M, Change in QSPI section below also */
}
I can download and debug the Bootloader just fine, but I can't debug the Application.
When trying to debug it the initial file that is opened by the debbuger says "No source available for" and it never reaches the breakpoint inserted at the first line of the thread.
I am not trying to jump between the two programs yet. I am only trying to download and debug a program in a address different of 0x00000000.