Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
contrl break under Linux hangs processor FRDM KL25Z ( also KL05Z)
When sending a ctrl-break from a windows machine with a putty terminal the FRDM-KL25Z behave as expected. It resets itself. (putty) But if a ctrl-break is sent from a linux machine the processor hangs and only a power cycle recovers the module. As far I have investigated , it looks like windows sends a breakstatus (so set the lines in the break status) and after a while ( < 1s) it sends a "unbreak" status. (putty)
As far I understand the ttyACM driver a break cause a IOCTL command for a break. The time parameter is either 0 or 0xFFFF. Seems the SDA interface interface is just holding the serial data lines in the break condition , resulting in a continues reset ( checked with the oscilloscope) ( putty , minicom, several linux platforms )
- is the SDA firmware code for the KL25Z firmware available ? - any suggestion how to get the ctrl-break on Linux resets the module instead of freezing it ?
1 Answer
9 years, 11 months ago.
This is a known issue on Linux. The source is available here if you'd like to submit a patch.
https://github.com/mbedmicro/CMSIS-DAP