ot-rcp doesn't work on sengled g4 #142
|
@jnilo1 I am trying ot-rcp on Sengled G4. However, the api was not available. here is the content of Do you know how do I debug this error? Thanks! |
Replies: 6 comments 3 replies
Reading of your logYour host-side configuration is coherent: The pattern in your log — the agent prints its startup banner ( One important context point: there is no pre-built OT-RCP image for the G4 in the repo, and Debug steps
Also, purely for consistency: if your OT-RCP build came from the G4 Timing noteIf this turns out to need a host-side fix, it will ride the v4.0.0 train: we will not publish any new release candidate until issue #99 is definitively closed (rc4 is under field validation). |
|
I got sw-flow-control working with 115200 baudrate. Here are some patches: and I tried baud rate 460800. |
Confirmed — excellent findYou are exactly right, and thank you for taking it all the way down to the offending line. The fix is in: One heads-up on your S70otbr patchIn your Your IXON patch — and two questions before we decideYour
With the fix above, |
|
@hlyi : A different angle on sw flow: the iostream backend — experimental G4 build attachedFollowing up on your IXON patch and the #134 discussion about uartdrv's software flow control being "partially supported" (Silabs' wording): there is a place where Silabs finished the job, and today we validated that the OT-RCP can run on it. The Gecko SDK's OpenThread platform abstraction has two UART backends, selected by project component: Two things we verified before bringing this to you. The historical objection in our README (iostream corrupts binary streams via LF→CRLF conversion) turned out to be a config toggle, not a property of the driver — What's in the attached zipAn experimental MG13 / software-flow build of the same thing, for your G4: the modified This pairs exactly with your patched What would settle it
Either result is valuable. The two questions from my previous message (uartdrv-sw at 230400, and confirming your |
|
@jnilo1
|
|
The original issue was resolved. Close this discussion |
I got sw-flow-control working with 115200 baudrate. Here are some patches: