ASURO - 55 -
If the compiler displays another message, you will have to trace the error by analysing the source
code. It is a good idea to look at the fi rst line in the source, in which errors have been reported.
The editor displays the line number in the source in the left bottom corner of the display window.
After a succesful translation you may deliberately alter a word in the program source. Restart the
make procedure and check, in which line number the “error” has been reported.
Following an error free compilation, the new program may be fl ashed. Connect the IR-Transceiver,
start the Flash-Tool, select the newly created program test.hex and the correct COM-interface.
Place ASURO near the IR-Transceiver, activate the Programm button and wait until the transfer of
the fi le has been completed.
After the statusline in the display has reported a succesful completion of the fi le transfer, switch
OFF ASURO and switch ON again. Wait a second and check the status-LED switching to red.
Before altering the source code, some more programming background should be available. It is
advised to read the following chapter fi rst.
NOTE!
It is also possible to load the demo program test.c from the Folder ASURO_src\FirstTry;
This program contains the lines below;
#include “asuro.h”
int main(void) {
Init();
while(1);
return 0;
}
It can be easy changed into the program on page 54.
Software
Содержание DLR ASURO
Страница 36: ...ASURO 36 Software Now this screen will show up Click I Agree This screen appears Click Next...
Страница 37: ...ASURO 37 Software The next screen appears Click Install and the next screen appears Wait...
Страница 40: ...ASURO 40 Software Select on the rigth side C C C C is selected Click Add to insert a new tool...
Страница 45: ...ASURO 45 Software Just for try we will open the file C ASURO_src FirstTry test c Click Open...
Страница 74: ...ASURO 74 B ASURO DIAGRAM Appendices...
Страница 75: ...ASURO 75 Appendices C RS 232 Transceiver...
Страница 76: ...ASURO 76 D USB Transceiver Appendices...
Страница 77: ...ASURO 77 E Block diagram ASURO F Block diagram PIC processor Appendices...
Страница 78: ...ASURO 78 G Contents ASURO KIT Appendices...