* [ECOS] MBX Board/Redboot
@ 2001-04-18 12:08 Anthony Massa
2001-04-19 2:11 ` Jesper Skov
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Massa @ 2001-04-18 12:08 UTC (permalink / raw)
To: eCos (E-mail)
I have Reboot running on my MBX board. I am able to download my application
code to the board using TFTP. After I download the code to RAM, I use the
Reboot GO command to execute the code. I then see a string output to the
serial port. I then tried to connect GDB/Insight via the serial port to the
board for debugging. How then can I do source level debugging on the board
- is it possible?
I want to be able to have the serial port for my applications I/O
communication and use the Ethernet interface for debugging. I have tried to
connect GDB to the board via Ethernet, however, I have not been able to do
this successfully. Can you tell me the steps and the any packages or
options I need for the eCos configuration to accomplish this?
I was also wondering with the MBX860 template and the networking package, do
I need to add the Common Ethernet Support package or is this functionality
taken care of with the QUICC Ethernet package?
What functionality does the Common Ethernet Support package add?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] MBX Board/Redboot
2001-04-18 12:08 [ECOS] MBX Board/Redboot Anthony Massa
@ 2001-04-19 2:11 ` Jesper Skov
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Skov @ 2001-04-19 2:11 UTC (permalink / raw)
To: Anthony Massa; +Cc: eCos (E-mail)
>>>>> "Anthony" == Anthony Massa <amassa@logici.com> writes:
Anthony> I have Reboot running on my MBX board. I am able to download
Anthony> my application code to the board using TFTP. After I
Anthony> download the code to RAM, I use the Reboot GO command to
Anthony> execute the code. I then see a string output to the serial
Anthony> port. I then tried to connect GDB/Insight via the serial
Anthony> port to the board for debugging. How then can I do source
Anthony> level debugging on the board - is it possible?
Yes, but you need to connect to RedBoot via ethernet from GDB and
download the application from there.
Anthony> I was also wondering with the MBX860 template and the
Anthony> networking package, do I need to add the Common Ethernet
Anthony> Support package or is this functionality taken care of with
Anthony> the QUICC Ethernet package?
You don't need the ethernet support in the application. All the
necessary bits should be in RedBoot. As far as I know, anyway.
Jesper
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ECOS] MBX Board/Redboot
@ 2001-04-19 9:29 Anthony Massa
0 siblings, 0 replies; 3+ messages in thread
From: Anthony Massa @ 2001-04-19 9:29 UTC (permalink / raw)
To: 'Jesper Skov'; +Cc: eCos (E-mail)
>Anthony> I have Reboot running on my MBX board. I am able to download
>Anthony> my application code to the board using TFTP. After I
>Anthony> download the code to RAM, I use the Reboot GO command to
>Anthony> execute the code. I then see a string output to the serial
>Anthony> port. I then tried to connect GDB/Insight via the serial
>Anthony> port to the board for debugging. How then can I do source
>Anthony> level debugging on the board - is it possible?
>
>Yes, but you need to connect to RedBoot via ethernet from GDB and
>download the application from there.
So, just to confirm, I would basically use RedBoot the same way as I would a
build of a
GDB stub. Except RedBoot gives me the additional feature of being able to
debug via Ethernet.
Right?
I tried a different eCos configuration using the MBX board as a template and
then selecting the net
package (on the template dialog). I downloaded the srec file using RedBoot
and then ran it. What I
saw was a string of characters starting with $, then after some delay the
message:
Network stack using 65536 bytes for misc space
came out and then a bunch of unreadable characters. It almost seemed like I
had the serial port
configured to the wrong baud rate - although I didn't.
>
>Anthony> I was also wondering with the MBX860 template and the
>Anthony> networking package, do I need to add the Common Ethernet
>Anthony> Support package or is this functionality taken care of with
>Anthony> the QUICC Ethernet package?
>
>You don't need the ethernet support in the application. All the
>necessary bits should be in RedBoot. As far as I know, anyway.
>
I am trying to get the GoAhead web server running in my application. I
guess I want to just be able
to use RedBoot to download and debug code (using GDB through RedBoot). If I
use the networking and
Ethernet drivers in my application will it create a conflict with the
Ethernet drivers in RedBoot - or will my
application still be able to receive its packets and send out the web pages
requested?
If I use the Ethernet port for debugging, can I send and RECEIVE console
commands over the serial port?
(because I know if I debug over the serial port I can't receive any input
from into my console thread)
Thanks - again.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-19 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 12:08 [ECOS] MBX Board/Redboot Anthony Massa
2001-04-19 2:11 ` Jesper Skov
2001-04-19 9:29 Anthony Massa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).