Hello,
I followed t he instructions in processors.wiki.ti.com/.../Sitara_Uniflash_Quick_Start_Guide and now have got Uniflash ver 3.1.0.00026 installed and set up, and AM335x (AM3358BZCZ100) (on a BBB board) connected over USB, which shows as "Linux USB Ethernet/RNDIS Gadget #n" (with n depending on which USB I am connected to).
Looking at the Local Area Connection Status, I can see packets are being sent from the host PC (Windows 7) to the device. Each time I reset the BBB, the sent packets number resets to zero and starts counting again.
UniFlash also shows the device Mac address in Status View, with status FlashInProgress, but the progress percentage never gets any other values than 0%.
(And after some time, the status becomes FlashUnknownError).
The situation is partially similar to this one: e2e.ti.com/.../346938 - but I seem to have it one or two steps past that already. Also, I do not have silicon rev 1.0 samples but mine is rev 2.1.
I have tried to look into the USB with USBPcap and WireShark, but there is not much interpretation of what happens on the line. I just see the same I get from the LAN Connection window, that there is outbound traffic,
Firewall is not running. According to BBB documentation, the SYSBOOT settings do support USB boot.
Later on, we need to create a system which boots over USB and runs a flashing algorithm. For the time being, I am however just starting with a simple piece of code which blinks a LED. This code does not get to run now, and I can also confirm with XDS560 emulator that no code has appeared in the 0x402f0400 address. (Which is not surprising when the FlashInProgress hasn't proceeded past 0%).
After resetting the BBB, I can see it running in circles in the ROM boot code. It would help to know where the USB boot code starts and stops. (And any other ROM boot code symbols). Would you have this information available?
Would you be able to suggest to me what I could be missing? Can you give me advice on what traffic I should see on the USB link?
Is this a driver/Windows set-up issue or could I have an issue with the image I am trying to transfer? Accoding to the specs (among others, AM335x TRM), no header is needed for the USB boot image, so I used the executable .out file as such (with everything linked to internal memory starting at 0x402f0400). Is this correct?
Is my idea correct that with Uniflash set up according to the instructions, I should be able to run any code by just placing the image in the C:\AM335x_Flashtool\images directory? If there is just one image in the image directory, shouldn't it just transfer that and then start running it? Would you have a sample u-boot binary + sources which I could try out?
Thanks!