Can we flash C-code and verify in MATLAB ?

2 views (last 30 days)
laxman uttur
laxman uttur on 13 Aug 2019
Answered: Walter Roberson on 13 Aug 2019
Can we flash C-code and verify in MATLAB?
If I have some Target and I want to flash code and verify?
Can we do this using MATLAB? If it is possible , which all Toolbox i need.

Answers (1)

Walter Roberson
Walter Roberson on 13 Aug 2019
This depends on the exact device, but generally NO.
In order to verify that a device has been flashed with the correct cide, you need some kind of debug access to the device that permits you to read all memory locations. There is no standard debug interface: it is very device dependent.
In some cases, there might have been a monitor program set up to talk to matlab, but when you flashed the device then that program might have been overwritten.
MATLAB does not have direct memory access to most devices.
There might be devices configured in a way that permits you to verify the code, but we would need to know about specific devices and how they were configured.

Categories

Find more on Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!