Hello,
We're periodically having an issue where it seems as though the C5515 on our PCB is trying to load an image from the SD card, however, at the time of the boot the SD card has no files on it.
We currently boot off of 2 devices, either NOR Flash or USB.
The PCB's come in and we load a bootloader onto them over USB which then takes a *.bin file via USB and programs it into NOR flash.
Then if you pull power from the device and then reapply power, it boots up from NOR flash and everything's fine.
A few times now though we have found that a board is plugged into the computer via USB to load the bootloader, but the computer never recognizes that a USB device was plugged in.
We then found that removing the SD card from the board and plugging it back into the computer via USB made it so that the computer recognized that a device was plugged in and we were able to perform the bootload process.
Somehow the SD card was preventing the C5515 internal bootloader from ever getting to the USB bootload point.
We were able to verify this on another board with the same SD card, so it would seem that it has something to do with the SD card.
Problem is, why are our boards assumingly getting stuck trying to load an image from the SD card if the SD card is blank (blank as in no files but the SD card is formatted).
Putting the same SD card into the product AFTER it has a valid image in NOR flash works fine (since the NOR flash boot point is before the SD card boot point).
The C5515 is then able to read and write to the SD card and no issues are present.
Any input on the matter would be great.
Thanks,
Ben