Skip to main content

Serial-Json-Rpc

EEPROM Programmer: Implementing Serial JSON-RPC API

EEPROM Programmer: Implementing Serial JSON-RPC API

·947 words·5 mins· loading · loading
Describes the design and implementation of a JSON-RPC–based API for an Arduino EEPROM programmer, focusing on clean separation between protocol handling and application logic. Details the interaction between the Arduino firmware and the Python CLI used for control and data transfer. Concludes with validation against the XGecu reference programmer to ensure identical read and write behavior.
Project: Serial JSON-RPC for Arduino

Project: Serial JSON-RPC for Arduino

·967 words·5 mins· loading · loading
Examines the challenges of implementing data transfer over Arduino Serial, focusing on the trade-offs between raw communication and JSON-RPC. Highlights how memory limits, encoding overhead, and debugging requirements shape protocol design. Demonstrates that encapsulating JSON-RPC logic in a reusable library simplifies development and improves maintainability despite higher resource costs.