rusefi / hellen-NB2-issues

0 stars 1 forks source link

SD card not seen - H72d #36

Closed BeerMoneyMotorsports closed 1 year ago

BeerMoneyMotorsports commented 2 years ago

See customer report here- https://rusefi.com/forum/viewtopic.php?f=16&t=2352

I have confirmed the same issue here on the bench. SD card not recognized by Hellen NB2. Tested Proteus with same SD card and no issue.

BeerMoneyMotorsports 12:58 PM Has anything changed with SD logging? I am unable to get the icons to illuminate. Using bench supply to power up first, then connecting the laptop after a brief wait. image.png image.png

Matthew Kennedy 12:59 PM Snip SD card config page?

BeerMoneyMotorsports 1:00 PM i cannot read the SD from the PC but that is due to my laptop issue.

Matthew Kennedy 1:00 PM The indicator just off screen to the left says you have no card detected at all

BeerMoneyMotorsports 1:00 PM image.png image.png

1:00 yes, that is correct 1:01 i had a user reporting this issue this morning

Matthew Kennedy 1:01 PM Hmm

BeerMoneyMotorsports 1:01 PM so i am testing it on mine

Matthew Kennedy 1:01 PM How is the card formatted?

BeerMoneyMotorsports 1:01 PM unsure

Matthew Kennedy 1:01 PM What's windows say if you put it in your pc

BeerMoneyMotorsports 1:06 PM image.png image.png

Matthew Kennedy 1:07 PM Right click, properties

BeerMoneyMotorsports 1:07 PM image.png image.png

Matthew Kennedy 1:07 PM Hmm 1:07 We should be able to read that

BeerMoneyMotorsports 1:07 PM yeah 1:07 i know it has before 1:12 SD card should be recognized even with USB power only? 1:12 im trying to test another board with older firmware

Matthew Kennedy 1:12 PM yes

BeerMoneyMotorsports 1:12 PM ok 1:12 just tried a board with Jan 22 firmware 1:12 still nothing

junkyard bill 1:21 PM Does it matter if it's formatted Master Boot Record... Vs GUID?

Matthew Kennedy 1:24 PM this is the same card the other guy couldn't get to work either? 1:24 is this ridewhenican on the forum?

BeerMoneyMotorsports 1:25 PM this is my own SD card 1:25 ive tried two different brands/sizes 1:27 @Matthew Kennedy yes, i suppose it is the same guy. didnt realize he had a forum post 1:28 He texted me about it. I decided to confirm it on my end to make sure there werent other issues 1:28 you still have a miata hellen that you can test 1:29 just in case im doing something stupid

Matthew Kennedy 1:43 PM just tried latest release on a proteus, reads my sd

BeerMoneyMotorsports 1:43 PM what format

Matthew Kennedy 1:43 PM exfat (edited) 1:44 technically the card format shouldn't matter when mounting to the PC 1:44 it just reads/writes bits directly to the card

BeerMoneyMotorsports 1:44 PM ok 1:44 grab that H72d i sent you and try it 1:45 with existing and then new firmware

Matthew Kennedy 1:46 PM this 72d has no SD card 1:46 and also has "STM fail" written on it in sharpie (in my handwriting) 1:47 nvm I'm blind 1:47 it does have SD 1:48 let's see if it's actually dead

BeerMoneyMotorsports 1:48 PM it was the alternator circuit i think

Matthew Kennedy 1:48 PM oh maybe 1:50 no dice on the fw on it 1:50 STM gets suspiciously hot but connects to USB

BeerMoneyMotorsports 1:51 PM no dice as in no detection of SD?

Matthew Kennedy 1:54 PM correct

BeerMoneyMotorsports 1:59 PM just tested my proteus as well 1:59 it reads find 1:59 fine

Matthew Kennedy 2:07 PM I don't entirely trust this stm32 2:07 let me wire up a dev board the same as a hellen

BeerMoneyMotorsports 2:08 PM i just redid an SD in FAT32

Matthew Kennedy 2:08 PM the PC mount doesnt' care 2:08 it'll mount a fully blank card

BeerMoneyMotorsports 2:09 PM made no change, TS still doesnt see it

Matthew Kennedy 2:19 PM you don't have a fatal error do you

Matthew Kennedy 2:32 PM image.png image.png

BeerMoneyMotorsports 2:33 PM No

Matthew Kennedy 2:33 PM same SD card works in proteus, doesn't on h72?

BeerMoneyMotorsports 2:37 PM I have not tried same that is in proteus 2:37 I have tried two different ones here 2:37 And 2 formats 2:37 Ill try in a few minutes

Matthew Kennedy 4:25 PM so I put the same FW image on the h72d as worked on my dev board, and it doesn't work

BeerMoneyMotorsports 4:28 PM i swapped in the proteus SD and it did not work

BeerMoneyMotorsports 4:39 PM @Matthew Kennedy reset firmware settings and no change

Matthew Kennedy 4:49 PM just for fun is the SD actually enabled on the ts page?

Log of Slack conversation and diagnostics.

BeerMoneyMotorsports 4:49 PM yes 4:50 image.png image.png

rusefillc commented 2 years ago

tune link needed

please execute sdinfo in console and provide output

rusefillc commented 2 years ago

no mention of affected version

did you attempt to use previous releases?

reminder that for me this is clearly related to the situation with canned tune

rusefillc commented 2 years ago

works on hellen 96

2022-06-22_12_32_18_890: EngineState: MMC CS PB12
2022-06-22_12_32_18_890: EngineState: SD enabled=Yes status=MSD
2022-06-22_12_32_18_891: EngineState: SD SPI_DEVICE_2 mosi=PB15
2022-06-22_12_32_18_891: EngineState: SD SPI_DEVICE_2 miso=PB14
2022-06-22_12_32_18_893: EngineState: SD SPI_DEVICE_2 sck=PB13
2022-06-22_12_32_18_893: EngineState: confirmation_sdinfo:6
BeerMoneyMotorsports commented 2 years ago

Issue is exhibiting on Hellen NB2 and NA6. I have tried multiple versions of firmware from the past 6 months. No success. Screenshot below is from 20220319@37157 NA6. tested with known good SD on bench. Grabbing NB1 to test now.

image
BeerMoneyMotorsports commented 2 years ago

Tested NB1, it works as desired. It appears to be an issue only with the Hellens that have 176 chip?

image

BeerMoneyMotorsports commented 2 years ago

Tested Hellen121nissan as well. No SD card readout. 20220315 firmware

rusefillc commented 2 years ago

my hellen72d works

image

image

rusefillc commented 2 years ago

@BeerMoneyMotorsports please confirm if you had a chance to order a box of "Kingston 8GB MicroSDHC Card - OEM - SDC4/8GB"

image

rusefillc commented 2 years ago

@BeerMoneyMotorsports please kindly do not truncate parts of the output specifically "MMC CS xxx"

rusefillc commented 2 years ago

@BeerMoneyMotorsports please clarify if you move same SINGLE working SD card between boards or if you test with multiple cards

BeerMoneyMotorsports commented 2 years ago

Yes, i use the same kingston SD card. i also have a sandisk 64mb that i tested with same results Validated in Proteus and transfer between H72, H64 and NB1 image

rusefillc commented 2 years ago

Well, that would be really weird. only thing I can suggest we go on same https://github.com/rusefi/rusefi/releases/download/20220602_release/rusefi_bundle_hellen72.zip

we equally hit 'reset to defaults'

and we equally feed H72 with only USB?

BeerMoneyMotorsports commented 2 years ago

i performed those tasks. status remains the same. I have tried it on rev D and F

rusefillc commented 2 years ago

How many H72 units do you have/tried?

Is it time for me to ship my reference unit to you?

BeerMoneyMotorsports commented 2 years ago

H72c H72d h72f x2 H64b NB1a

rusefillc commented 2 years ago

shipping my H72d to @BeerMoneyMotorsports

BeerMoneyMotorsports commented 2 years ago

It was discovered that a change was made from revD to revE on the SD card. It now uses SPI2 rather than 3. We will need the ability to select which SPI is needed.

image
rusefillc commented 2 years ago

@BeerMoneyMotorsports let's clarify if we have one or two separate issues: H72d not working and H72E not working?

I was under the impression that you had issues even on H72d which was same HW as mine, using same FW as mine.

Q1: does your H72d SD card work?

rusefillc commented 2 years ago
  1. hellenBoardId magic version number goes into TS log files now
  2. hellenBoardId magic version number goes into "hello" console command output now

it look like for H72 we can distinguish between three sorts of boards:

  1. before E
  2. E
  3. F
BeerMoneyMotorsports commented 2 years ago

Hellen NB2 now recognizes board correctly and assigns correct SPI

NB2 d image image

NB2 f image

image
BeerMoneyMotorsports commented 1 year ago

fixed