Hi
As mentioned before, there is full code for the DBG in the uTasker project: http://www.utasker.com/forum/index.php?topic=1476.0
It also allows the DBG to be tested in its VisualStudio based SAM7x simulator so that all details, including interrupts can be emulated and fully understood.
However, also consider using a modern processor - the SAM7 is legacy and is a silicon antique now.
Regards
Mark
AT91SAM7XC-EK DBG line
Moderator: nferre
- mjbcswitzerland
- Contact:
- Location: Switzerland
Post
Re: AT91SAM7XC-EK DBG line
hi,guy:
I use the board and the printf can work via a COM port. But I find that only the printf can work whith the JTAG plugged in. After I plug out the JTAG, I can see nothing on the COM port,but I'm sure the program is running!
Any one meet this?
I use the board and the printf can work via a COM port. But I find that only the printf can work whith the JTAG plugged in. After I plug out the JTAG, I can see nothing on the COM port,but I'm sure the program is running!
Any one meet this?
- mjbcswitzerland
- Contact:
- Location: Switzerland
Post
Re: AT91SAM7XC-EK DBG line
Hi
If you read the SAM7 user's manual it tells you how to use the DBG. It is in fact very simple and almost identical to using the standard USARTs.
The DBG has less features (only 8 bit characters) and shares its interrupt with SYSINT but that is the only relevant deviation.
As mentioned several times, but seemingy invisible to all readers, all code is available at the reference.
To make it simpler, here is a link to a c-file containing it - simply search for DBGU_UART in the file to see the specific code: http://www.uTasker.com/temp/SAM7X.c
Regards
Mark
If you read the SAM7 user's manual it tells you how to use the DBG. It is in fact very simple and almost identical to using the standard USARTs.
The DBG has less features (only 8 bit characters) and shares its interrupt with SYSINT but that is the only relevant deviation.
As mentioned several times, but seemingy invisible to all readers, all code is available at the reference.
To make it simpler, here is a link to a c-file containing it - simply search for DBGU_UART in the file to see the specific code: http://www.uTasker.com/temp/SAM7X.c
Regards
Mark
Who is online
Users browsing this forum: No registered users and 2 guests