Content originally posted in LPCWare by JohnR on Fri Jun 08 05:31:02 MST 2012
Hi Shareef,
I'm glad it worked for you. In your own program, in the memory details box, is the flash memory definition the first item in the drop-down list?
Here is the file for the M4/M0 project. This is again a slight modification from the very useful project supplied by Code Red, together with a lot of help from them. The modifications were mainly adding the Diolan code for the switches and LEDs as well as the message passing between M4 and M0.
You should only need to compile the M4 side - the project was set up by Code Red to automatically compile the M0 code and include the .s file in the M4 executable.
Once the code has been flashed, the program should start by turning (M4) on the red LED, D1, for a short while. Then after a second or so, the LED D6 should light (M0). Then pressing S4 should toggle D6 on and off.
John.
Content originally posted in LPCWare by JohnR on Wed Jun 06 06:10:07 MST 2012
Hi,
I realised after posting the last message that one could add a zip file to a post.
So here is my version of the Hitex Blinky code using the flash memory on the Diolan board.
I now have permission from CodeRed to publish the dual M4/M0 code so if you can get Blinky working and still want the dual code, I will post it as well.
Hope this helps.
John