i'm trying to boot a SHAR 21569 as UART Slave.
I saw other post with similar issue like https://ez.analog.com/dsp/sharc-processors/adsp-sc5xxadsp-215xx/f/q-a/163650/issues-attempting-uart-slave-boot-in-sc584-ez-kit and
I generate the LDR with the following command :
.\elfloader.exe -proc ADSP-21569 "LEDBlink.dxe" -init "21569_init.dxe" -b UARTSLAVE -f INCLUDE -Width 8 -verbose -o "led-blink-latest-uart.h"
I modify my init code to init UART0 according to my SCLK and i turn on a led on the init code.
My First problem is related to auto-baud : i'm able to receive the 4 bytes handshake only if my baud is 9600.
In this case i recv : 0xBF, 0x59, 0x02 , 0x00.
If I use other common baud like 38400 115200 i don't receive the 4 bytes handshake.
In any case without carry about boot time i keep 9600 bps and go ahead.
I can say that init code run because i see the Led turned on but the RTS (CTS on host side) stay hight.
I try to wait "manually" the init code boot (waiting led turned on) and send data also if RTS is hight but without success.
I understand that i have to configure UART on my init code but maybe i don't understand how i should configure the UART, DMA ? no DMA ? fix the baud-rate to the baud-rate that i use on my host code ? (in this case why auto baud should exist ?)
What i'm wrong ?
Thank you in advance.