fubarino / fubarino.github.com

fubarino.github.com
15 stars 13 forks source link

Fubarino SD error at address 1D0000FC: file=9D001264, mem=9D00126C #22

Open emcgill03 opened 6 years ago

emcgill03 commented 6 years ago

Hi I am using a Fubarino SD board with arduino and code that has been previously working is now bringing up this error code, anyone have an idea of what it is? Thanks

EmbeddedMan commented 6 years ago

Hmm. Can you provide more details? What version of chipKIT-core are you using? What sketch are you trying to compile? Does the error code come up in the Arduino IDE when verifying, or only when downloading?

*Brian

On Thu, May 3, 2018 at 6:02 AM, emcgill03 notifications@github.com wrote:

Hi I am using a Fubarino SD board with arduino and code that has been previously working is now bringing up this error code, anyone have an idea of what it is? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbeCGQ4Lgzx2EqULE9wJ9uU8qPa9cVyks5tuuPIgaJpZM4Tw4VW .

emcgill03 commented 6 years ago

I was using chipkit version 1.4.3, I will try a newer version and see if that works. Its is a 'slaveUART 7 segment display' sketch and the error only comes up when downloading.

EmbeddedMan commented 6 years ago

Would you be willing to share the sketch with me? I'd like to try to reproduce the error (if you are able to make it happen with the latest chipKIT-core) which I won't be able to do without the sketch.

*Brian

On Thu, May 3, 2018 at 8:05 AM, emcgill03 notifications@github.com wrote:

I was using chipkit version 1.4.3, I will try a newer version and see if that works. Its is a 'slaveUART 7 segment display' sketch and the error only comes up when downloading.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/22#issuecomment-386288721, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbeCO_eERnV8VqAENfY50OoX6q0TMGVks5tuwC2gaJpZM4Tw4VW .

emcgill03 commented 6 years ago

byte pinArray [8] ={7,8,9,10,11,12,13,20};

byte sevenSegmentMap [10][8]={ {1,1,1,0,1,1,1,0}, // 0 {0,0,1,0,1,0,0,0}, // 1 {1,1,0,0,1,1,0,1}, // 2 {0,1,1,0,1,1,0,1}, // 3 {0,0,1,0,1,0,1,1}, // 4 {0,1,1,0,0,1,1,1}, // 5 {1,1,1,0,0,1,1,1}, // 6 {0,0,1,0,1,1,0,0}, // 7 {1,1,1,0,1,1,1,1}, // 8 {0,1,1,0,1,1,1,1}, // 9 };

const byte Na = 8; const byte txPin = 29; const byte rxPin = 28; const byte pinLED = 0; byte n =0; byte m =0;

void setup() {

pinMode(rxPin, INPUT); pinMode(txPin, OUTPUT); pinMode(pinLED, OUTPUT);

for (int ia = 1; ia<=Na; ia++){

pinMode(pinArray[ia-1] , OUTPUT);

}

for (int n1=0; n1<=9; n1++){

for (int ia = 0; ia<Na; ia++){

digitalWrite(pinArray[ia], sevenSegmentMap [n1][ia]);}

delay(100); }

Serial.begin(9600); Serial1.begin(9600); Serial0.begin(9600); }

void loop() {

if (Serial1.available()) { delayMicroseconds(10000); // digitalWrite(pinLED, HIGH); // set LED ON if // Serial1 is available n= Serial1.read(); // Serial.println(n,DEC);

m = 9-n;

Serial0.write(m);

for (int ia = 1; ia<=Na; ia++){

digitalWrite(pinArray [ia-1], sevenSegmentMap [n][ia-1]); // turn the LED on (HIGH is the voltage level)

}

}

}

EmbeddedMan commented 6 years ago

With chipKIT-core v2.0.3 installed in Arduino IDE 1.8.5, this sketch compiles and downloads without error or warning for me on a FubarinoSD.

*Brian

On Thu, May 3, 2018 at 8:21 AM, emcgill03 notifications@github.com wrote:

byte pinArray [8] ={7,8,9,10,11,12,13,20};

byte sevenSegmentMap [10][8]={ {1,1,1,0,1,1,1,0}, // 0 {0,0,1,0,1,0,0,0}, // 1 {1,1,0,0,1,1,0,1}, // 2 {0,1,1,0,1,1,0,1}, // 3 {0,0,1,0,1,0,1,1}, // 4 {0,1,1,0,0,1,1,1}, // 5 {1,1,1,0,0,1,1,1}, // 6 {0,0,1,0,1,1,0,0}, // 7 {1,1,1,0,1,1,1,1}, // 8 {0,1,1,0,1,1,1,1}, // 9 };

const byte Na = 8; const byte txPin = 29; const byte rxPin = 28; const byte pinLED = 0; byte n =0; byte m =0;

void setup() {

pinMode(rxPin, INPUT); pinMode(txPin, OUTPUT); pinMode(pinLED, OUTPUT);

for (int ia = 1; ia<=Na; ia++){

pinMode(pinArray[ia-1] , OUTPUT);

}

for (int n1=0; n1<=9; n1++){

for (int ia = 0; ia<Na; ia++){

digitalWrite(pinArray[ia], sevenSegmentMap [n1][ia]);}

delay(100); }

Serial.begin(9600); Serial1.begin(9600); Serial0.begin(9600); }

void loop() {

if (Serial1.available()) { delayMicroseconds(10000); // digitalWrite(pinLED, HIGH); // set LED ON if // Serial1 is available n= Serial1.read(); // Serial.println(n,DEC);

m = 9-n;

Serial0.write(m);

for (int ia = 1; ia<=Na; ia++){

digitalWrite(pinArray [ia-1], sevenSegmentMap [n][ia-1]); // turn the LED on (HIGH is the voltage level)

}

}

}

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/22#issuecomment-386293282, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbeCKGfXZh7D6niTWV4Txw__3HcndyOks5tuwRUgaJpZM4Tw4VW .