Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I put a program to a specific address for the PIC17C*** series of chips ?

address chips program SERIES
0
Posted

How do I put a program to a specific address for the PIC17C*** series of chips ?

0

Q. How do I put a program to a specific address for the PIC17C*** series of chips ? A. To put a program at a specific address there is a compiler option available -A. The -ROM switch is used to specify the external memory for the 17Cxx part. To place the program at address 0x2000, which is external memory on th -17c44, the command line will look like below: picc main.c jump.as -17c44 -a2000h -rom2000-fffc You will also need to include the jump.as file in your project. The jump.as file is in the samples directory of the PICC compiler. There are instructions included in the file as comments. The jump.as file redirects interrupts and the startup vectors to the relocated program.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.