Author Topic: Bakelite: A utility that makes it simple to communicate with your firmware  (Read 3463 times)

0 Members and 1 Guest are viewing this topic.

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: Bakelite: A utility that makes it simple to communicate with your firmware
« Reply #25 on: January 27, 2022, 09:51:41 am »
The latency of access to a packet-multiplexed uart serial link is the time required to send the longest packet. To reduce latency I would limit packet length (split bulk data blocks) and the consistent low overhead of COBS packets would be very beneficial there. You can only reduce packet length so much until you are better off just switching to some stream protocol, such as you did. You are right that a COBS stream is not suited to being interrupted at short notice, so I understand your preference for reserved control chars and escaping in the scenario you describe. You have traded the efficiency of COBS to gain faster bus access.

Anyway, we are going off topic a little.
I think COBS is a good choice for packetising data in the RPC protocol generator being discussed here.
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 11501
  • Country: ch
Re: Bakelite: A utility that makes it simple to communicate with your firmware
« Reply #26 on: January 27, 2022, 11:55:09 am »
Let me ask you an unrelated question: What tool did you use to make the SVG diagram in your project page?
Try draw.io. I just used it for a project and am quite happy with it. Open source, both as a web app and local app, runs on everything.
 
The following users thanked this post: brendan0powers

Offline brendan0powersTopic starter

  • Newbie
  • Posts: 9
  • Country: us
    • My Blog
Re: Bakelite: A utility that makes it simple to communicate with your firmware
« Reply #27 on: February 02, 2022, 08:08:15 pm »
Quote
Try draw.io. I just used it for a project and am quite happy with it.

Draw.io is great! thanks for the recommendation!
 
The following users thanked this post: tooki

Offline tooki

  • Super Contributor
  • ***
  • Posts: 11501
  • Country: ch
Re: Bakelite: A utility that makes it simple to communicate with your firmware
« Reply #28 on: February 03, 2022, 09:53:01 am »
Quote
Try draw.io. I just used it for a project and am quite happy with it.

Draw.io is great! thanks for the recommendation!
Glad it worked out for you. I know I’ll be using it for more things in the future.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf