Jul 11, 2017
05:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 11, 2017
05:54 AM
Hi,
i am using DAVE4 and a XMC4400.
After downloading a flash loader into PSRAM and generating the PSRAM header from an application running from flash, i try to start the flash loader.
This is the header:
This is the start of PSRAM:
To start this code, i initiate a PSRAM boot with the following code:
But the XMC4400 doesn`t start the flash loader, it enters instead the sleep mode.
What i am doing wrong?
Thank you in advance
i am using DAVE4 and a XMC4400.
After downloading a flash loader into PSRAM and generating the PSRAM header from an application running from flash, i try to start the flash loader.
This is the header:
This is the start of PSRAM:
To start this code, i initiate a PSRAM boot with the following code:
static void BLHRunUserCode(uint8_t SelMem)
{
__disable_irq();
/* clear reset status */
XMC_SCU_RESET_ClearDeviceResetReason();
/* program SWCOM */
XMC_SCU_SetBootMode(XMC_SCU_BOOTMODE_PSRAM_BOOT);
/* init. system reset */
__NVIC_SystemReset();
}
But the XMC4400 doesn`t start the flash loader, it enters instead the sleep mode.
What i am doing wrong?
Thank you in advance
- Tags:
- IFX
1 Reply
Jul 13, 2017
04:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2017
04:42 AM
Hi,
Please have a look to the attached projects.
It includes two projects
- The bootloader
- The application (blinky)
Compile first the application. It will generate an object file that can be linked to the bootloader application. See README.txt
Compile then the bootloader and flash the application. The LEDs in the XMC44 Application kit should start blinking.
Regards,
Jesus
Please have a look to the attached projects.
It includes two projects
- The bootloader
- The application (blinky)
Compile first the application. It will generate an object file that can be linked to the bootloader application. See README.txt
Compile then the bootloader and flash the application. The LEDs in the XMC44 Application kit should start blinking.
Regards,
Jesus