Hi,all
We want to implement the I2C Customized EMAC boot mode of C6474, but it cann't be descibedclearly in the bootloader user guide sprug24. i have several questiones:
1) when does the host side begin to seed the boottable to the C6474? do TI have the host side utils or relavant sampe code?
2) how to configure the EMAC boot parameter and where to put into EP2ROM?
3) are there some effictive methods to debug when i test the EMAC boot process?
B.R.
Jason
Hi Jason,
Jason wong Hi,all We want to implement the I2C Customized EMAC boot mode of C6474, but it cann't be descibedclearly in the bootloader user guide sprug24. i have several questiones: 1) when does the host side begin to seed the boottable to the C6474? do TI have the host side utils or relavant sampe code?
- as for my understanding, the device will send an "ethernet ready" frame, in form of a BOOTP packet. When the host receives this, it means it can start the transmission. However it needs to be ready before since it seems that the packet is not retransmitted. This is how the host is signaled from the DSP
Jason wong2) how to configure the EMAC boot parameter and where to put into EP2ROM?
Jason wong3) are there some effictive methods to debug when i test the EMAC boot process?
in this case it will be hard since you cannot follow the rom bootloader routines, as you would have to follow assembly (the source code is not delivered).
But the information given in the spec should be enough to construct the proper packet so that the bootloader accepts them
Generally speaking, the advise is to start with a very simple application that includes just a while(1) loop, which maybe writes one internal location of the DSP memory, so that you can check with the emulator that the value is being written
Of course having CCS opened and connected should allow you to verify if the download process has been successful, and I guess also check the downloaded sections packet after packet
On the network side, I would recommend a sniffer at least like wiresharc so that you can check what is passing on the network and verify the data chunks being sent. However make sure that the open source tool is configured to log the packets you are sending.
Make also sure you use a good cable supporting Gbit ethernet (would recommend cat5e or better)
Hope this helps
Have you been able to boot EVMC6474 through EMAC?
Thanks,
Maroun