SD init fail.....make me crazy![]() September 08, 2018 04:56PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 10, 2018 06:28PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 10, 2018 07:26PM |
Registered: 6 years ago Posts: 1,860 |
Re: SD init fail.....make me crazy![]() September 10, 2018 07:42PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 10, 2018 07:56PM |
Registered: 5 years ago Posts: 265 |
Re: SD init fail.....make me crazy![]() September 10, 2018 07:59PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 10, 2018 09:52PM |
Registered: 6 years ago Posts: 1,860 |
Re: SD init fail.....make me crazy![]() September 11, 2018 08:12AM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 11, 2018 08:13AM |
Registered: 5 years ago Posts: 71 |
Quote
Roberts_Clif
In A10 Configuration.h you are defining UltiPanel and Reprap Discount Smart Controller
#define ULTIPANEL //the UltiPanel as on Thingiverse
#define REPRAP_DISCOUNT_SMART_CONTROLLER
In 1.1.9 Configuration.h you are defining Ultra_LCD and Reprap Discount Smart Controller
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define ULTRA_LCD
I believe you need to select one or the other but not both. If you define both it does not know where the SD Card is located.
Re: SD init fail.....make me crazy![]() September 11, 2018 09:18AM |
Registered: 6 years ago Posts: 1,860 |
Re: SD init fail.....make me crazy![]() September 11, 2018 09:46AM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 11, 2018 11:55AM |
Registered: 6 years ago Posts: 1,860 |
Re: SD init fail.....make me crazy![]() September 11, 2018 01:45PM |
Registered: 5 years ago Posts: 71 |
Arduino:1.8.6 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" In file included from sketch\HAL.h:33:0, from sketch\MarlinConfig.h:39, from sketch\Marlin.h:35, from sketch\Marlin_main.cpp:252: pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ In file included from sketch\HAL.h:33:0, from sketch\MarlinConfig.h:39, from sketch\Marlin.h:35, from sketch\Marlin_main.cpp:252: pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:82:48: note: in definition of macro '_WRITE' #define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:72:21: note: in definition of macro '_WRITE_NC' if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:72:42: note: in definition of macro '_WRITE_NC' if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:73:21: note: in definition of macro '_WRITE_NC' else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:73:42: note: in definition of macro '_WRITE_NC' else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:77:30: note: in definition of macro '_WRITE_C' uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:79:10: note: in definition of macro '_WRITE_C' DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:79:48: note: in definition of macro '_WRITE_C' DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:908:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, HIGH); ^ sketch\Marlin_main.cpp:908:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, HIGH); ^ In file included from sketch\HAL.h:33:0, from sketch\MarlinConfig.h:39, from sketch\Marlin.h:35, from sketch\Marlin_main.cpp:252: pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN) ^ sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ In file included from sketch\HAL.h:33:0, from sketch\MarlinConfig.h:39, from sketch\Marlin.h:35, from sketch\Marlin_main.cpp:252: pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:82:48: note: in definition of macro '_WRITE' #define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:72:21: note: in definition of macro '_WRITE_NC' if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:72:42: note: in definition of macro '_WRITE_NC' if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:73:21: note: in definition of macro '_WRITE_NC' else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:73:42: note: in definition of macro '_WRITE_NC' else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:77:30: note: in definition of macro '_WRITE_C' uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:79:10: note: in definition of macro '_WRITE_C' DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token #define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing. ^ sketch\fastio.h:79:48: note: in definition of macro '_WRITE_C' DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \ ^ sketch\fastio.h:94:31: note: in expansion of macro '_WRITE' #define WRITE(IO,V) _WRITE(IO,V) ^ sketch\fastio.h:105:51: note: in expansion of macro 'WRITE' #define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0) ^ sketch\Marlin_main.cpp:921:5: note: in expansion of macro 'OUT_WRITE' OUT_WRITE(SUICIDE_PIN, LOW); ^ sketch\Marlin_main.cpp:921:15: note: in expansion of macro 'SUICIDE_PIN' OUT_WRITE(SUICIDE_PIN, LOW); ^ exit status 1 pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token
Re: SD init fail.....make me crazy![]() September 11, 2018 01:49PM |
Registered: 13 years ago Posts: 140 |
Re: SD init fail.....make me crazy![]() September 11, 2018 02:00PM |
Registered: 13 years ago Posts: 140 |
Re: SD init fail.....make me crazy![]() September 11, 2018 02:28PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 11, 2018 03:55PM |
Registered: 7 years ago Posts: 46 |
Re: SD init fail.....make me crazy![]() September 11, 2018 04:29PM |
Registered: 13 years ago Posts: 140 |
Quote
zonalimitatore
Ok i understand.
I know platform.io from 3 days,but is not easy like arduino. I know 2.0 can autobuild
Quote
zonalimitatore
But..afterall.Why this versions of configuration.h (one with 1.1.9, one with 2 and original one)
Quote
zonalimitatore
work on all other users,and not for me.
Quote
zonalimitatore
Work,ok....bt not my sd reader.
The only one difference is that i make the stupid things to upload 1.1.9 with bootloader file (included in .hex file),and i don't know why the programmer have add that.
Fortunately i have recover my board sing arduino uno like isp and rewrite bootloader,and repload the firm (the printer was dead)
So,guys....what can i do for make sd working?For me it's not a compile problem,cause like i say,others don't have this issue.
Re: SD init fail.....make me crazy![]() September 11, 2018 04:47PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 11, 2018 05:20PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 11, 2018 05:59PM |
Registered: 13 years ago Posts: 140 |
Re: SD init fail.....make me crazy![]() September 11, 2018 06:30PM |
Registered: 5 years ago Posts: 71 |
Quote
MrAlvin
Has that SD-card worked before, on the printer? Yes
Can you read the sd-card on your computer? Yes
Is it formatted as FAT? Yes.i try fat 32,16,and do a low level format
Is the SD-card 2Gb or bigger? Yes
Can you wiggle the SD-card, to see if it gets a better position in the card-reader slot? I try in several position and do some,less,no pression.Try to wiggle the flat cable.Try different sd,different class
Quote
MrAlvin
Could you clean up your Arduino install?
This means removing or renaming the (windows-user)\documents\Arduino folder
And likewise renaming/removing folders in:
-- (windows-user)\AppData\Local
-- (windows-user)\AppData\Roaming
These two locations might have folders named Arduino or Arduino15
Please note that "AppData" folder is a hidden/system folder, so you need to add this visibility in windows explorer to see this folder.
Then try the SD_listfiles test-sketch again.
Re: SD init fail.....make me crazy![]() September 11, 2018 07:06PM |
Registered: 6 years ago Posts: 1,860 |
Re: SD init fail.....make me crazy![]() September 11, 2018 07:11PM |
Registered: 13 years ago Posts: 140 |
Quote
zonalimitatore
Ok i do all.
Same things.I ve notice if i inserit the sd in the reader instantly return with "Initializing SD card...initialization failed!"
But if the sd is not inserit,it's like a "Initializing SD card...pause--pause--pause--- initialization failed!"
Re: SD init fail.....make me crazy![]() September 11, 2018 09:10PM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 12, 2018 03:12AM |
Registered: 13 years ago Posts: 140 |
Re: SD init fail.....make me crazy![]() September 12, 2018 06:16AM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 13, 2018 10:30AM |
Registered: 5 years ago Posts: 71 |
Re: SD init fail.....make me crazy![]() September 13, 2018 09:33PM |
Registered: 13 years ago Posts: 140 |
Re: SD init fail.....make me crazy![]() September 13, 2018 09:45PM |
Registered: 13 years ago Posts: 140 |