Question: error messages how can I fix the problem? this program operating at 1 MHz, should step through the ASCII table. Get Target Device ID (00000c40)

 error messages how can I fix the problem? this program operating
at 1 MHz, should step through the ASCII table. Get Target Device
error messages
ID (00000c40) does not match expected Device ID (00001200). Or strange error
how can I fix the problem?
this program operating at 1 MHz, should step through the ASCII table. Get Target Device ID (00000c40) does not match expected Device ID (00001200).
Or strange error messages about Osc.c and Osc.h
messages about Osc.c and Osc.h this is osc.h this is osc.c /*
this is osc.h
Operating at 1 MHz, LCD should step through the ASCII table /*
this is osc.c

/* Operating at 1 MHz, LCD should step through the ASCII table /* Get Target Device ID (00000c40) does not match expected Device ID (00001200). /* Or strange error messages about osc.c and osc.h #include 77 library containing info on this chip #include // library containing printf() function #include "osc.h" // library for set osc_32MHz () #include "configureUSART.h" // library for configureUSART() #include "configuration bits.h" // our configuration settings int main(void) 15 16 17 int i=0, 0; //set_one_32MHz(); // set MCU to run at 32 MHz 1/ operate ate default 1 MHz configureUSART (9600ul, 1.0); // configure MCU serial communication module to run at 960 //wait for splash screen to finish just over 1 second _delay (125000); // wait 125 000TCY-0.5 seconds _delay (125000); // weit 125 000TCY - 0.5 seconds printf("cc", OxFE, 0x01); // Command - cleer and zero display printf(" APSC 1299 ");/ 16 chars wide to fill top line of LCD _delay (125000); wait 125 000 TCY0.5 seconds _delay (125000); wait 125 000 TCY 0.5 seconds I //wait for splash screen to finish just over 1 second delay (125000); // wait 125 000 * TCY = 0.5 seconds delay (125000); // wait 125 000 * TCY = 0.5 seconds printf("%ctc", 0xFE, 0x01); //Command - clear and zero display printf(" APSC 1299 "); // 16 chars wide to fill top line of LCD _delay (125000); // wait 125 000 + TCY = 0.5 seconds delay (125000); // wait 125 000 TOY 0.5 s NO while(1) 17 this loop will ru O 14H U 106 OUD printf ("*c1c", 0xFE, 0x01);// for(i=33; i volatile union $288 ../../common/ose.e:20: error: (255) not a member of the struct/union ** ../../common/osc.e:20: error: (182) illegal conversion between types int => volatile union $288 ../../common/osc.e:21: error: (255) not a member of the struct/union - ../../common/osc.c:21: error: (182) illegal conversion between types int -> volatile union S288 ../../common/osc.c:23: error: (192) undefined identifier "OSCTUNEbits" ../../common/osc.c:23: error: (196) struct/union required ../../common/configurUSART.C:42: error: (192) undefined identifier "BAUDCONbits" ../../common/confiqureUSART.C:42: error: (196) struct/union required (908) exit status = 1 (908) exit status - 1 nbproject/Makefile-default.mk : 139: recipe for target 'build/default/production/ext/1472/debuglo.pl' failed nbproject/Makefile-default.mk : 131: recipe for target 'build/default/production/ext/2049610667/ose.pl' failed (908) exit status - 1 nbproject/Makefile-default.mk:123: recipe for target build/default/production/ext/2049610667/configureUSART make[2]: Leaving directory '7:/APSC 1299/Debug/Debug/Debug10/Debug10.x nbproject/Makefile-default.mk :91: recipe for target .build-cont' failed make[1]: Leaving directory 'F:/APSC 1299/Debug/Debug/Debug10/Debug10.x nbproject/Makefile-impl.mk :39: recipe for target "build-impl' failed make[2]: *** (build/default/production/_ext/1472/debug10.pl] Error 1 make[2]: *** Waiting for unfinished jobs... make[2]: *** (build/default/production/ext/2049610667/05c.plError 1 make[2]: [build/default/production/_ext/2049610667/configureUSART.pl] Error 1 make[1]: *** [.build-contError 2 make: **[.build-impll Error 2 7* Set clock speed to 32 MHz void set_osc_32MHz (void); include #include "osc.h" set_osc_32MHz () sets the oscillator frequency to 32 MHz 17 Note TOSC = 1/(32 MHz) = 0.03125 mus and TCY = 4* TOSC = 0.125 mus **************** void set_osc_32MHz (void) int i; SCILLATORContre ster to 8 MHz OSCCONbits.IRCF2 = 1; OSCCONbits.IRCF1 = 1; OSCCONbits. IRCFO = 1; OSCTUNEbits. PLLEN - 1; urbo! Currently disa t to at 4MHz and get to and 32 MHZ for(i=0;i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!