Commits included in published releases. Unpublished intermediate commits are private. Showing matches from the latest 100 commits ending at this release.
Getting around to commit'ing some HW flow tweaks and other minutae
mecparts · Jun 13, 2023, 6:05 PM UTC
5600e468c515
Fixed a minor bug in ATH that's been there since the beginning
mecparts · Oct 17, 2022, 5:26 PM UTC
ca5a051bca27
First stab at a solution for buffer ptrs getting out of sync Long story short: adding 'volatile' does little for variables being written to by two threads, like the buffer lengths. I couldn't figure out how the length was getting out of sync with the head and tail pointers (which caused no end of weirdness) until it hit me that '++lng' and '--lng' aren't atomic operations; they're read/modify/write. And every once in a while, the main thread would be updating a buffer length and get interrupted by the lwIP thread, and if it happened to change the same buffer length... you can fill in the rest. I've surrounded the '++lng' and '--lng' calls in the main thread with disable/re-enable interrupt calls and we'll see how that goes. If it doesn't do the trick, it'll be time to bone up on mutexes and semaphores and critical sections.
mecparts · Oct 15, 2022, 11:39 PM UTC
093f1dd49b10
Retransmit data later if tcp_write fails Only update txBuff head and len if tcp_write succeeds, allowing data to be re-tried later on, either from tcpSent or tcpPoll.
mecparts · Oct 13, 2022, 5:28 PM UTC
d5cd17c2d9d7
Tracked down how head and tail ended up out of sync in txBuff If tcpSend got called by the lwIP thread when it's been called by the main thread (from tcpWriteBuf), the queue was catfu'd. Moving cyw43_arch_lwip_begin before any txBuff manipulation fixed the problem.
mecparts · Oct 12, 2022, 6:27 PM UTC
ea85581d140b
DTR handling, more volatiles, tighten up online escape timing 1. Once I got a serial bracket for one of my Linux boxes and set the modem up as a dialin port, I discovered that I needed to reset the 'DTR went inactive' flag when a connection was made. Otherwise the DTR change that mgetty did before the connection was made was causing the connection to drop as soon as it connected. 2. Noticed what looks like a "one-off" buffer corruption when a large amount of data was sent from the Linux box through the modem. Haven't been able to reproduce it, but it might have to do with missing volatile qualifiers in the TCP_CLIENT_T struct. 3. Discovered that I wasn't resetting the escape count when there was more than 1 second between '+' characters.
mecparts · Oct 11, 2022, 5:04 AM UTC
0121033f3e34
Added free heap, program size and free flash info display
mecparts · Oct 10, 2022, 5:15 AM UTC
f31257624ede
Modified directory structure. Made DTR handling work immediately.