LIN Cliff,
I hate to admit it, but it took me a while before I found the software zip file that went with the app note! I spent way too long wondering why the app notes...
Wednesday, 3 July 2019 - 19:48
xmega32C4 strange USARTC0 in SPI mode behavior (SOLVED) So, I fired it up real quick and made a few changes:
Reenabled optimization (-O1)
Changed the flag I THOUGH was "transmit register empty flag" (TXCIF) to "transmit BUFFER empty...
Wednesday, 11 January 2017 - 05:05
xmega32C4 strange USARTC0 in SPI mode behavior (SOLVED) Greg,
I was working on some related code just now and needed to look at the transmit buffer empty flag. I opened up the datasheet to look at the status register to...
Wednesday, 11 January 2017 - 04:54
xmega32C4 strange USARTC0 in SPI mode behavior (SOLVED) Well that is interesting. I turned off optimizations completely and it gave me this:
This looks much more like what I expect:
Chip select lowered
Bytes sent
Wait...
Cliff, I hate to admit it, but it took me a while before I found the software zip file that went with the app note! I spent way too long wondering why the app notes...
So, I fired it up real quick and made a few changes: Reenabled optimization (-O1) Changed the flag I THOUGH was "transmit register empty flag" (TXCIF) to "transmit BUFFER empty...
Greg, I was working on some related code just now and needed to look at the transmit buffer empty flag. I opened up the datasheet to look at the status register to...
Well that is interesting. I turned off optimizations completely and it gave me this: This looks much more like what I expect: Chip select lowered Bytes sent Wait...
This has been solved, but I am not really sure WHAT did the trick. I basically did two things before reinstalling it: Uninstalled everything that I wasn't using...
Well, as I expected, uninstalling it, cleaning "atmel" from the registry, deleting all the relevant directories, rebooting and reinstalling did nothing. No errors were...
What a pain... Just for fun, I ran dependency walker on atbackend.exe from 6.2 (which works perfectly fine) and it gave pretty much the exact same warnings. I'll dig...
I had a bit before I had to get ready for lunch (with mom!), so I decided to go ahead and grab dependency walker and see what it shows. It's ugly. It looks like most...
Thanks for the help clawson! I'll dig into this and see if I can't get this sorted out today. As for uninstalling and wiping, I've tried that about three times with no...
When I first started fighting this, I assumed (bad idea, I know...) it was a USB driver issue. I spent a LOT of time proving to myself that the correct drivers were loaded...
And the application status log which clearly shows the atbackend failing to start (last few lines): 19:00:20.141: Constructing a new instance of Status Report Service 19:00:20....
Here is the information on the installation from help->about. The one thing that caught my eye is the OS Version it lists (6.2.9200.0). I am on the latest version...
Pages