This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with QSPI and MMCSD Bootloader.

Other Parts Discussed in Thread: SYSBIOS

Hi,

I use idkam437x with ccs 6.1.2 and sysbios sdk 2.1.1.2.

I wrote a sysbios-based application of motor control that needs to be launched from QSPI memory. I have dived into user guides of bootloading. There are some QSPI booting instructions In sdk user guide, 'Flashing and Booting' section which I find quite ambigous.  I followed both the SD card and  QSPI booting instructions and my code does not boot in my idkam437x board. Could you please help me with that?

First of all, I copied the user application, bootloader_boot_qspi_a9host_debug_ti.bin and config file into sd card, changed their names and use the changed names in the config file with addresses: 0x0 and 0x8000000. Now, as I suppose, I need to plug SD card into idkam437x, connect with it by CCS and run the qspi flash writer that moves the code into flash right? Or do I need to leave the card in the PC?

Secondly, when I connect a CCS terminal to UART0 (by programming/debugging usb cable) with the specified paramaters, I have no response from the board neither in QSPI nor in direct SD card mode. I do not have any idea how to check if it is the result of bad connection, fault in booting or bad sd card preparation (I used Windows-based formatting, which seems to be proper - the default boot and app files from it resulted in diodes work, however I saw no UART response)

Thridly, after qspi flash writer I changed the last two digits of 0x44e10040 address to 08.

As I suppose, after all these steps the application should be booted properly after hard reset but it does not. The steps for ordinary SD card booting also failed in my case so maybe I made a common error in both these ways - is it possible that there is something wrong with the application? I use debug configuration that works fine when uploading directly from CCS so I suppose its OK.

FInally, I would like to ask if  flashing bootloader and application to qspi flash really needs the usage of SD card - that makes the SD port crucial in commercial projects - is there any other way of QSPI flash programming (without SD card)? 

Thank you in advance!

JJ