Skip to content

Writing DM-32UV with a lot of zones and channels crashes upload. #143

Description

@firebelcher

I ran into this issue when I had a bunch of zones and channels. The DM-32UV has enough space for both, but it seems to crash on upload.

NeonPlug Connection Debug
Timestamp: 2026-07-27T22:49:33.198Z
Error: Zone 29 would exceed block size

--- Recent logs ---
[2026-07-27T22:42:12.743Z][INFO][Connection] PSEARCH: 06 44 50 35 37 30 55 56
[2026-07-27T22:42:14.548Z][INFO][Memory] Reading metadata from 200 blocks from 0x1000 to 0xc8000 (endAddr was 0xc8fff)
[2026-07-27T22:42:26.869Z][INFO][Memory] Discovered 200 blocks: Channels=48, Zones=1, Scan Lists=1, Unknown=49, Empty=93
[2026-07-27T22:42:26.928Z][INFO][Protocol] Channel count: 331
[2026-07-27T22:42:26.929Z][INFO][Protocol] Found required metadata block 0xb at 0x08D000 (marked as unknown type, but will read)
[2026-07-27T22:42:26.932Z][INFO][Protocol] Found required metadata block 0x44 at 0x00B000 (marked as unknown type, but will read)
[2026-07-27T22:42:26.933Z][INFO][Protocol] Found required metadata block 0x42 at 0x008000 (marked as unknown type, but will read)
[2026-07-27T22:42:26.933Z][INFO][Protocol] Found required metadata block 0x43 at 0x00A000 (marked as unknown type, but will read)
[2026-07-27T22:42:26.933Z][INFO][Protocol] Bulk reading 19 blocks (channels, zones, scan lists, and fixed metadata blocks)
[2026-07-27T22:42:37.377Z][INFO][Protocol] Bulk read complete: 19 blocks cached
[2026-07-27T22:42:37.378Z][INFO][Protocol] All blocks read: 19 blocks, 200 metadata entries
[2026-07-27T22:42:37.493Z][INFO][Protocol] Channel count: 331
[2026-07-27T22:42:37.493Z][INFO][Protocol] Parsing 5 cached channel blocks for 331 channels
[2026-07-27T22:42:37.500Z][INFO][Protocol] Successfully parsed 331 channels (expected 331)
[2026-07-27T22:42:37.503Z][INFO][Protocol] Found 1 zone blocks (metadata 0x5c)
[2026-07-27T22:42:37.504Z][INFO][Protocol] Successfully parsed 20 zones
[2026-07-27T22:42:38.350Z][INFO][Protocol] Found 1 scan list blocks (metadata 0x11)
[2026-07-27T22:42:38.350Z][INFO][Protocol] Successfully parsed 1 scan lists: List 1
[2026-07-27T22:45:22.732Z][INFO][Protocol] Restoring cache from store: 19 block data entries, 200 metadata entries
[2026-07-27T22:45:22.732Z][INFO][Protocol] Restored 19 blocks from store cache
[2026-07-27T22:45:24.111Z][INFO][Connection] PSEARCH: 06 44 50 35 37 30 55 56
[2026-07-27T22:45:25.915Z][INFO][Memory] Reading metadata from 200 blocks from 0x1000 to 0xc8000 (endAddr was 0xc8fff)
[2026-07-27T22:45:38.285Z][INFO][Memory] Discovered 200 blocks: Channels=48, Zones=1, Scan Lists=1, Unknown=49, Empty=93
[2026-07-27T22:45:38.293Z][INFO][Protocol] Writing 45 zones to 1 block(s)
[2026-07-27T22:45:38.293Z][ERROR][Protocol] Zone 29 would exceed block size: offset 4076, data length 4096
[2026-07-27T22:46:56.695Z][INFO][Protocol] Restoring cache from store: 19 block data entries, 200 metadata entries
[2026-07-27T22:46:56.695Z][INFO][Protocol] Restored 19 blocks from store cache
[2026-07-27T22:46:58.156Z][INFO][Connection] PSEARCH: 06 44 50 35 37 30 55 56
[2026-07-27T22:47:00.004Z][INFO][Memory] Reading metadata from 200 blocks from 0x1000 to 0xc8000 (endAddr was 0xc8fff)
[2026-07-27T22:47:13.179Z][INFO][Memory] Discovered 200 blocks: Channels=48, Zones=1, Scan Lists=1, Unknown=49, Empty=93
[2026-07-27T22:47:13.252Z][INFO][Protocol] Writing 41 zones to 1 block(s)
[2026-07-27T22:47:13.253Z][ERROR][Protocol] Zone 29 would exceed block size: offset 4076, data length 4096
[2026-07-27T22:49:17.419Z][INFO][Protocol] Restoring cache from store: 19 block data entries, 200 metadata entries
[2026-07-27T22:49:17.419Z][INFO][Protocol] Restored 19 blocks from store cache
[2026-07-27T22:49:18.804Z][INFO][Connection] PSEARCH: 06 44 50 35 37 30 55 56
[2026-07-27T22:49:20.733Z][INFO][Memory] Reading metadata from 200 blocks from 0x1000 to 0xc8000 (endAddr was 0xc8fff)
[2026-07-27T22:49:33.072Z][INFO][Memory] Discovered 200 blocks: Channels=48, Zones=1, Scan Lists=1, Unknown=49, Empty=93
[2026-07-27T22:49:33.076Z][INFO][Protocol] Writing 37 zones to 1 block(s)
[2026-07-27T22:49:33.077Z][ERROR][Protocol] Zone 29 would exceed block size: offset 4076, data length 4096

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions