Hello,
I am trying to communicate with sam4s on my custom board with simple commands given in section 24.5 in datasheet. Bootloader returns answer when is connected via UART. But when when i open terminal and try the same commands when connected to usb it doesn't return anything. USB is successfully enumerated and recognized as ttyACM0. I am running Ubuntu 15.10. Where am getting wrong?
SAM4s bootloader not responding via usb
Post
Re: SAM4s bootloader not responding via usb
Check your master clock. An UART is much more tolerant toward inexact or varying clock frequency than USB.
--
-TV
--
-TV
Post
Re: SAM4s bootloader not responding via usb
I am using external clock on XIN pin 12Mhz oscillator from TXC. I checked with a scope. It looks fine.
When USB is attached i can't communicate via UART. I guess it is switched correctly to USB.
When USB is attached i can't communicate via UART. I guess it is switched correctly to USB.
Post
Re: SAM4s bootloader not responding via usb
I've success with communication through USB. The solution is described in atmel
knowledge base
http://atmel.force.com/support/articles ... -ubuntu-PC
Does somebody know why reinitialize usb driver is needed?
knowledge base
http://atmel.force.com/support/articles ... -ubuntu-PC
Does somebody know why reinitialize usb driver is needed?
Return to “SAM4 Cortex-M4 MCU”
Who is online
Users browsing this forum: No registered users and 1 guest