Skip to content

Add dsPIC33CK support and RK3308 (Rock Pi S etc) host support#26

Open
Grix wants to merge 15 commits intoWallaceIT:masterfrom
Grix:master
Open

Add dsPIC33CK support and RK3308 (Rock Pi S etc) host support#26
Grix wants to merge 15 commits intoWallaceIT:masterfrom
Grix:master

Conversation

@Grix
Copy link

@Grix Grix commented Nov 19, 2024

Modified to fit my needs of programming a dsPIC33CK series chip from a Rock S0.

Tested: dsPIC33CK32MP102 and dsPIC33CK64MC105 devices. Writing and reading flash, erase flash, blank check, dump config registers, device id, using Rock S0 host with default GPIO pins (GPIO2_C0 = PGC, GPIO2_B2 = PGD, GPIO2_A4 = MCLR).

Not tested: Customizing GPIO pins with command line parameters. GUI server stuff. Other microcontrollers of the dsPIC33CK series, but they should be the same as the two tested ones. Other host boards with the RK3308 SoC.

Of note: On one board, MCLR appeared to be pulled low as input by default, preventing the microcontroller from booting or flashing properly. Must set pull-up manually using this command with the default GPIO pin, but this is outside the scope of this pull request:

sudo memtool mw -l 0xff0000c0 0xffffa905

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