- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif
Hello everyone,I have some problem while tring to load applications to my board. (1) I try to debug over serial using gdb. (gdb) set remotebaud 115200 (gdb) target remote COM1 Remote debugging using COM1 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Error: Couldn't establish connection to remote target Malformed response to offset query, timeout How should I solve this problem? I have tried to debug over Ethernet and that works. (2) I try to download applications to the board in the redboot enviroment and type in the following command. RedBoot> load -r -m xmodem -b 0x01010000 CCCCCCCCCCCCCCCCCCCCCRaw file loaded 0x01010000-0x0100ffff, assumed entry at 0x0 1010000 xyzModem - CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 20 retries RedBoot> load -r -m ymodem -b 0x01010000 CCCCCCCCan't load '<null>': Timed out I use Windows Hyperterminal. Both xmodem and ymodem doesn't work. Even before I have time to select a file to send, those 'C' have already all come out and at a really high rate. I have searched the Mailing list of eCos, and modified the HAL_DELAY_US() macro: I change "#define HAL_DELAY_US(n) hal_delay_us(n)" to "#define HAL_DELAY_US(n) hal_delay_us((n)*10)" after that the 'C' come out at a lower rate,and I have time to choose a file to send.But that still doesn't work. Can anyone tell me how to send a file by xmodem or ymodem? Thanks! p.s. My dev board is Stratix Pro Edition.Link copiato
0 Risposte

Rispondere
Opzioni discussione
- Iscriversi a feed RSS
- Contrassegnare la discussione come nuova
- Contrassegnare la discussione come letta
- Sposta questo Discussione per l'utente corrente
- Preferito
- Iscriversi
- Pagina in versione di stampa