1. 程式人生 > 實用技巧 >視覺筆記manifold(四)串列埠除錯

視覺筆記manifold(四)串列埠除錯

11.29 調哨兵

在實際除錯中,一旦拔插manifold上的各種介面,那麼會在拔插瞬間,manifold停止傳送串列埠資料,之後瞬間傳送之前擁堵的資料。
所以如果電控使用DMA,陣列需要開大點
這應該算是manifold的一個設計bug

和電控對接,有以下要點:
float和double等型別傳送方式
聯調時,多一個滑鼠鍵盤很麻煩,使用ssh用筆記本調節,同時筆記本的串列埠助手等內容可以顯示在妙算螢幕上
妙算髮資料,經常發一堆ASCII碼
比如:
c 5939,421956] usb 2-2: usbfs; process 4419 (run) did not claim interface 0 before use5939.564047] usb 2-2: usbfs: process 4426 (run) did not claim interface 2 before use 6005.196316] usb 2-2: usbfs: process 4446 (run) did not claim interface 0 before use [6005,337046] usb 2-2: usbfs: process 4453 (run) did not claim interface 2 before use [6314.817455] tegrade 15210000. nvdisplay: blank-powerdown 6314.882207] PD DISP2 index4 DOW 6314.882298] PD DISP1 index3 DOWN I [6314.882376] PD DISPO index2 DOWN [6321.293894] tegrade 15210000. nwdisplay: hdmi: unplugged 6321.316016] tegradc 15210000. nvdisplay: blank -power down [ 6321.321455] tegrade 15210000. nvdisplay: unblank [ 6321.326062] tegrade 15210000. nvdisplay: unblank.. 6322.190370] tegrade 15210000. nwdisplay: blank-powerdown [ 6322,195900] tegrade 15210000. nwdisplay: hdmi: plugged [ 6322.215364] tegrade 15210000. nvdisplay: blank-powerdown 6322,220817] tegrade 15210000. nvdisplay: unblank 6322.220832] PD DISPO index2 UP [ 6322.221788] FD DISP1 index3 UP 6822.221883] PD DISP2 index4 UP 6322,223506] Parent Clock set for DC plld2 [ 6322.225222] tegrade 15210000, nwdisplay: hdmi: pelk:148500K, set prod- setting: prod c 150M


串列埠助手如下顯示:
在這裡插入圖片描述
我懷疑這是manifold系統的緣故,拔插串列埠時會發這堆資料