Comments (4)
GRRR!!!
giorni di lavoro per un hardware fallato !
from rmap.
รจ probabile un problema della RAM, ma come fare i check ?
http://www.avrfreaks.net/forum/c-function-test-internal-sram-needed
from rmap.
un programma grossolano per fare il test della memoria, da compilare con .O0
ino build --cflags="-O0" -m 644pa16m
#define SIZE 2000
uint8_t mem[SIZE];
int i;
void setup() {
Serial.begin(9600); // connect to the serial port
Serial.println("Start");
for (i=0; i<SIZE; i++){
mem[i]=0xFF;
if (mem[i] != 0xFF){
Serial.print("error: ");
Serial.print(mem[i]);
Serial.print(" : ");
Serial.println(i);
}
}
for (i=0; i<SIZE; i++){
mem[i]=0x00;
if (mem[i] != 0x00){
Serial.print("error: ");
Serial.print(mem[i]);
Serial.print(" : ");
Serial.println(i);
}
}
Serial.println("OK 1");
}
void loop() {
uint8_t memm[SIZE];
for (i=0; i<SIZE; i++){
memm[i]=0xFF;
if (memm[i] != 0xFF){
Serial.print("error: ");
Serial.print(memm[i]);
Serial.print(" : ");
Serial.println(i);
}
}
for (i=0; i<SIZE; i++){
memm[i]=0x00;
if (memm[i] != 0x00){
Serial.print("error: ");
Serial.print(memm[i]);
Serial.print(" : ");
Serial.println(i);
}
}
Serial.println("OK 2");
delay(3000);
}
from rmap.
prendere una board funzionante:
/usr/bin/avrdude -C /etc/avrdude/avrdude.conf -p atmega644p -P /dev/ttyUSB0 -c arduino -b 115200 -U eeprom:r:eeprom.bin:r
prendere la board da testare:
/usr/bin/avrdude -C /etc/avrdude/avrdude.conf -p atmega644p -P /dev/ttyUSB0 -c arduino -b 115200 -U eeprom:w:eeprom.bin:r
ed ecco il problema:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e960a
avrdude: reading input file "eeprom.bin"
avrdude: writing eeprom (2048 bytes):
Writing | ################################################## | 100% 2.82s
avrdude: 2048 bytes of eeprom written
avrdude: verifying eeprom memory against eeprom.bin:
avrdude: load data eeprom data from input file eeprom.bin:
avrdude: input file eeprom.bin contains 2048 bytes
avrdude: reading on-chip eeprom data:
Reading | ################################################## | 100% 0.79s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x00
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
from rmap.
Related Issues (20)
- stimav4: station status: display it on LCD
- stimav4: module master do not compile HOT 3
- stimav4: differentiate firmware: test and production
- stimav4: feature to verify
- stimav4: wind measure HOT 4
- stimav4: temperature and humidity measure HOT 3
- stimav4: attribute is missed in wind paremeters HOT 1
- stimav4: getSDFromUV bug for slow wind HOT 1
- stimav4: apply license HOT 1
- stimav4: MQTT disconnect and reconnect on the same report HOT 1
- stimav4: rpc are non queued HOT 1
- stimav4: master firmware do not compile HOT 2
- stimav4: slave-radiation do not compile
- stimav4: slave_rain do not compile
- stimav4: slave-vwc do not compile
- stimav4: some data are not transmitted to broker HOT 1
- stimav4: file info.dat is missed on SDcard HOT 7
- stimav4: last commit (15 dic 23) broke Continous Integration HOT 1
- server: do not show disabled station in station on map
- stimav4: wrong scale for precipitation rate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmap.