| |

VerySource

 Forgot password?
 Register
Search
View: 1400|Reply: 3

What is the difference between external ROM and built-in ROM programs?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-9 09:00:01
| Show all posts |Read mode
The same program can be run when the external ROM is installed, and it can't be moved when it is changed to run in the internal ROM mode.
I removed os, and only used the main function and the interrupt function, and it worked, but os died.
What are the possible errors? Thank you
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-7-26 21:30:01
| Show all posts
There are many issues involved, such as the interruption of the OS and the interruption of your application, because if you are based on the OS, the OS will take over all interrupts, you need to register the interrupt request with the OS, and if there is no OS, you need to do it yourself Handling interrupts, the operations of the two are different. According to my understanding, the external rom and the internal rom should have no effect. If you need any help, you can describe the problem clearly, and you may be able to help.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-8-7 13:15:01
| Show all posts
Thank you friends upstairs
But there is no problem with this program running on an external rom. I think it should not be a bug in the program itself.
If there is an error, it can’t run on the external rom.
Still looking for the problem. . .
Thanks a lot
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Japan

 Author| Post time: 2020-8-15 21:45:01
| Show all posts
Thank you, the problem is solved, the control register of the data line port in the internal and external rom mode has a problem, thank you for your answer
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list