Skip to content

Update initial value for LAN865x Rev.B1 (sync branch)#69

Open
tkummermehr wants to merge 18 commits intomainfrom
chore/port-lan865x-rev-b1-init-values
Open

Update initial value for LAN865x Rev.B1 (sync branch)#69
tkummermehr wants to merge 18 commits intomainfrom
chore/port-lan865x-rev-b1-init-values

Conversation

@tkummermehr
Copy link
Copy Markdown
Collaborator

Port Jing's register initialization changes from master branch v3.1.5.

Changes

  • Add 0x000400D0 and 0x000400E0 to TC6_MEMMAP table (unconditional)
  • Move 0x000400E9–0x000400F9 block earlier in table
  • Fix 0x000400F8 value: 0x00009B00 → 0x0000B900
  • Remove chip-rev conditional code
  • Remove duplicate 0x00040081 write
  • Bump version to 3.1.6-sync

tkummermehr and others added 18 commits August 4, 2023 10:29
TC6Regs_CheckTimers iterates all TC6_MAX_INSTANCES entries of m_reg[]
and calls DoInitialization on each. Slots that no caller has yet
bound via TC6Regs_Init still have pReg->pTC6 == NULL, so the existing
!pReg->initialized guard lets the init sequence run against a NULL
MAC-PHY handle, dereferencing NULL in TC6_Reset / TC6_WriteRegister
on every tick until a real Init arrives. Masked at the default
TC6_MAX_INSTANCES == 1, triggers as soon as a project configures more.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…sync branch) (#61)

Co-authored-by: Sven Semmler <Sven@SvenSemmler.org>
…ync branch) (#59)

Co-authored-by: Sven Semmler <Sven@SvenSemmler.org>
@tkummermehr tkummermehr requested a review from SvenSemmler May 4, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant