Page 2 of 2

Re: AT91SAM7XC-EK DBG line

Posted: Wed Jan 27, 2016 6:25 pm
by mjbcswitzerland
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

Re: AT91SAM7XC-EK DBG line

Posted: Thu Feb 04, 2016 2:29 am
by linuxjiahuo
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?

Re: AT91SAM7XC-EK DBG line

Posted: Thu Feb 04, 2016 10:57 am
by mjbcswitzerland
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