Dear all,
I am currently working with the FRDMK82F evaluation board to develop a project that utilizes the QSPI Alias Region for debugging the application example "led_demo_qspi_alias" once stored in external flash memory.
Following the procedure outlined in Chapter 8 of the MBOOTQSPIUG document, I attempted to load the .sb file using blhost. However, I encountered the following error:
Inject command 'receive-sb-file'
Preparing to send 67083376 (0x3ff9c70) bytes to the target.
Successful generic response to command 'receive-sb-file'
(1/1)0%usb hid detected receiver data abort
Data phase write aborted by status 0x2712 kStatus_AbortDataPhase
Possible JUMP or RESET command received.
- took 2.990 seconds
Response status = 105 (0x69) kStatus_FlashCommandFailure
Wrote 5376 of 67083376 bytes.
I suspect this issue may be related to the large size of the binary file (approximately 67MB). Could this be the cause of the failure? If so, is there a recommended way to bypass or resolve this limitation?
To assist with the analysis, I have attached the following materials:
The "led_demo_qspi_alias" project, including:
- QCB file
- Application binary
- .srec file generated by the bootloader
- .bd file
The bootloader project (frdmk82_led_blinky), which includes:
- The code modifications suggested in the MBOOTQSPIUG procedure
- The BCA structure added in startup.c
Looking forward to hearing from you soon.
Kind regards,
Vladimir Zitoli