Search found 11 matches

by Green77
Mon Aug 22, 2022 4:12 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Hello,

Did try to change the load of input 1 to 4.

Can upload now, get this:" no matching function for call to 'I2C_eeprom::readBlock(int&, DAC_Input*&, unsigned int)'"
Do i need to change also the writeBlock?

Again, thanks for your help.

BR// Daniel
by Green77
Sun Aug 21, 2022 3:03 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Thanks.
I will update soon and i get back.

BR// Daniel
by Green77
Sun Aug 21, 2022 5:27 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Because STM32duino is not an Arduino. It's similar, mostly compatible, but it's not the same. There are differences in data types and how they behave, in some math functions, etc. It's the difference between C++ and Arduino. Crap, i was hooping that i missed a line or two when i made the convert fr...
by Green77
Sun Aug 21, 2022 5:20 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

if your storage needs are modest, and your sketch (the compiled bin file) is *small* , you may want to try using a stm32 chip with lots of flash like 256k. things like stm32f401ccu may be 'adequate' https://www.st.com/en/microcontrollers-microprocessors/stm32f401cc.html of course, bigger chips like...
by Green77
Sat Aug 20, 2022 8:44 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Hmm, got it, But prog works perfect on Arduino Due. Can’t understand why it wont work here when in download ok on stm32…

BR//Daniel
by Green77
Sat Aug 20, 2022 2:58 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

I’m a real noob on this. And just eeprom seems to be really hard for me to understand :(

Pointer? I dont follow…

Thanks for your help.

BR// Daniel
by Green77
Sat Aug 20, 2022 7:21 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Hello. Yes i have pullups on both lines. I did as you adviced and made a small program just to store a value in eeprom. I used extEEPROM.h. Worked perfectly so now i know that extEEPROM can be used. When i think about it both I2C_EEPROM and extEEPROM hangs at the same time in program. That’s when se...
by Green77
Fri Aug 19, 2022 5:05 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Hello and thanks for the help.

I did try to paste code here but prog to big.

@GonzoG Can i send a link to you with PM?

BR// Daniel
by Green77
Thu Aug 18, 2022 5:16 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Hello again, I've tried I2C_EPPROM by Rob that was suggested from GnozoG (Thanks). Still doesn't fly for me. I have the same problem as with extEEPROM. I run a example code from I2C_EEPROM that scanned the memory and all seems fine, addres 0X50, 32K, 1 device.... But in my program i download fine an...
by Green77
Mon Aug 15, 2022 1:14 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blue pill with external EEPROM
Replies: 20
Views: 14915

Re: Blue pill with external EEPROM

Aha, Thanks.
Will have a look at it.

BR// Daniel

Go to advanced search