Skip to content

compilation problems #24

Answered by brentward
michaelsarr asked this question in Q&A
Aug 6, 2023 · 3 comments · 8 replies
Discussion options

You must be logged in to vote

The permissions error you are getting on the /dev/ttyACM0 device could be because your user isn't in the dialout group. You could try adding your user to that group. Do ls /dev/ttyACM0 and see what the ownership is and add your user to that group.

Once you get permission issue fixed you will be able to use the underlying rp6502.py file to upload the binary to a USB drive mounted to the RP6502. When you upload it through the script the headers get added to the binary file that allow you to install it as a ROM. I only had success when I manually specified the starting address. This is the command I used to upload the hello world file:
rp6502-sdk/rp6502.py -a 0x200 upload build/hello

Once i…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@michaelsarr
Comment options

@mklcolvin
Comment options

@rumbledethumps
Comment options

Answer selected by michaelsarr
Comment options

You must be logged in to vote
5 replies
@netzerohero
Comment options

@rumbledethumps
Comment options

@netzerohero
Comment options

@rumbledethumps
Comment options

@mklcolvin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants