compilation problems #24
-
i got the circuit board in the mail yesterday, soldered it up and it comes up and seems ok. so on ubuntu i have vscode installed with the vscode template for hello world. It builds without errors. but no luck with ctrl - shift - B im getting a permission denied error when trying to open dev/ttyACM0 I also tried taking the hello binary and putting it on a thumb drive and when I try to use "load hello" i get Missing RP6502 ROM header does this mean that it is running on the 6502 or is this interface running on the pico so I just put this thing together. not sure if it actually works... i can read and write to memory At this point im not sure if there is something wrong with the device or my compilation setup is not correct. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Permission denied is coming from Linux. Focus on that. |
Beta Was this translation helpful? Give feedback.
-
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 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: Once it is uploaded you will see the hello file when you do an LS on the RP6502 itself and you can install it using the command: For more information examine how the basic.py file works inside the picocomputer/ehbasic repository. |
Beta Was this translation helpful? Give feedback.
-
I worked some on modifying the rp6502.py tool, and it now outputs a file that I think has the ROM header info, but I don't know what is a proper header. I'm attaching the hello world output from the template to show what it now outputs to a local file. If someone can post an actual binary and start address, I might be able to figure this out. |
Beta Was this translation helpful? Give feedback.
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…