Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kakute H7 Mini SPI Flash not working #11488

Closed
haslinghuis opened this issue Mar 24, 2022 · 1 comment
Closed

Kakute H7 Mini SPI Flash not working #11488

haslinghuis opened this issue Mar 24, 2022 · 1 comment
Labels
BUG Bugs are excluded from automatically being marked as stale
Milestone

Comments

@haslinghuis
Copy link
Member

haslinghuis commented Mar 24, 2022

Describe the bug

Device is configured to use SPIFLASH but does not show up in configurator GUI as option:
image

The resource needed for it to work shows:

A04: PREINIT 2

The board uses the Winbond 25Q128J / 25Q128JV chip for blackbox.

To Reproduce

Default:

image

Expected behavior

Configure flash as blackbox device.

Flight controller configuration

# version
# Betaflight / STM32H743 (SH74) 4.3.0 Mar 22 2022 / 23:15:36 (61f43fea9) MSP API: 1.44
# config: manufacturer_id: HBRO, board_name: KAKUTEH7MINI, version: c24ea9c4, date: 2021-12-16T07:02:07Z

# start the command batch
batch start

board_name KAKUTEH7MINI
manufacturer_id HBRO

# feature
feature -RX_PARALLEL_PWM

profile 0

rateprofile 0

# end the command batch
batch end
# resource show all
Currently active IO resource assignments:
(reboot to update)
--------------------
A00: FREE
A01: FREE
A02: FREE
A03: FREE
A04: PREINIT 2
A05: SPI_SCK 1
A06: SPI_MISO 1
A07: SPI_MOSI 1
A08: FREE
A09: SERIAL_TX 1
A10: SERIAL_RX 1
A11: USB
A12: USB
A13: SWD
A14: SWD
A15: FREE
B00: FREE
B01: FREE
B02: FREE
B03: FREE
B04: FREE
B05: FREE
B06: I2C_SCL 1
B07: I2C_SDA 1
B08: FREE
B09: FREE
B10: FREE
B11: PINIO 1
B12: OSD_CS
B13: SPI_SCK 2
B14: SPI_MISO 2
B15: SPI_MOSI 2
C00: ADC_BATT
C01: ADC_CURR
C02: LED 1
C03: FREE
C04: FREE
C05: FREE
C06: FREE
C07: SERIAL_RX 6
C08: FREE
C09: FREE
C10: FREE
C11: FREE
C12: FREE
C13: BEEPER
C14: FREE
C15: FREE
D00: FREE
D01: FREE
D02: FREE
D03: FREE
D04: FREE
D05: FREE
D06: FREE
D07: FREE
D08: FREE
D09: FREE
D10: FREE
D11: FREE
D12: FREE
D13: FREE
D14: FREE
D15: FREE
E00: FREE
E01: GYRO_EXTI
E02: SPI_SCK 4
E03: FREE
E04: GYRO_CS 1
E05: SPI_MISO 4
E06: SPI_MOSI 4
E07: FREE
E08: FREE
E09: CAMERA_CONTROL
E10: FREE
E11: FREE
E12: FREE
E13: FREE
E14: FREE
E15: FREE
F00: FREE
F01: FREE
F02: FREE
F03: FREE
F04: FREE
F05: FREE
F06: FREE
F07: FREE
F08: FREE
F09: FREE
F10: FREE
F11: FREE
F12: FREE
F13: FREE
F14: FREE
F15: FREE
G00: FREE
G01: FREE
G02: FREE
G03: FREE
G04: FREE
G05: FREE
G06: FREE
G07: FREE
G08: FREE
G09: FREE
G10: FREE
G11: FREE
G12: FREE
G13: FREE
G14: FREE
G15: FREE

Currently active Timers:
-----------------------
TIM1:
    CH1 : CAMERA_CONTROL
TIM2: FREE
TIM3: FREE
TIM4: FREE
TIM5: FREE
TIM6: FREE
TIM7: FREE
TIM8: FREE
TIM12: FREE
TIM13: FREE
TIM14: FREE
TIM15: FREE
TIM16: FREE
TIM17: FREE

Currently active DMA:
--------------------
DMA1 Stream 0: SPI_MISO 1
DMA1 Stream 1: SPI_MOSI 2
DMA1 Stream 2: SPI_MISO 2
DMA1 Stream 3: SPI_MOSI 4
DMA1 Stream 4: SPI_MISO 4
DMA1 Stream 5: FREE
DMA1 Stream 6: FREE
DMA1 Stream 7: FREE
DMA2 Stream 0: ADC 1
DMA2 Stream 1: ADC 3
DMA2 Stream 2: FREE
DMA2 Stream 3: FREE
DMA2 Stream 4: FREE
DMA2 Stream 5: SPI_MOSI 1
DMA2 Stream 6: FREE
DMA2 Stream 7: FREE```


### Flight controller

Holybro Kakute H7 Mini (manufacturer sample)

### Other components

Bare board. Nothing connected yet.

### How are the different components wired up

N/A

### Add any other context about the problem that you think might be relevant here

Extracted from target:

set blackbox_device = SPIFLASH
set flash_spi_bus = 1
set max7456_spi_bus = 2
set gyro_1_bustype = SPI
set gyro_1_spibus = 4
@haslinghuis haslinghuis added Template: Bug Set by auto_close_issue. BUG Bugs are excluded from automatically being marked as stale and removed Template: Bug Set by auto_close_issue. labels Mar 24, 2022
@haslinghuis haslinghuis added this to Bug Tracker in Finalizing Firmware 4.3 Release via automation Mar 24, 2022
@haslinghuis haslinghuis added this to the 4.3 milestone Mar 24, 2022
@haslinghuis haslinghuis changed the title Kakute H7 Mini allows configuration of SDCard, when enabling no device shows up Kakute H7 Mini allows configuration of SDCard, after enabling there is no USB communication Mar 24, 2022
@haslinghuis haslinghuis changed the title Kakute H7 Mini allows configuration of SDCard, after enabling there is no USB communication Kakute H7 Mini allows configuration of SDCard, after enabling there is no USB communication. No SPI Flash option available Mar 24, 2022
@haslinghuis haslinghuis changed the title Kakute H7 Mini allows configuration of SDCard, after enabling there is no USB communication. No SPI Flash option available Kakute H7 Mini has no SPI Flash option available Apr 6, 2022
@haslinghuis haslinghuis changed the title Kakute H7 Mini has no SPI Flash option available Kakute H7 Mini SPI Flash not working due to missing Winbond 25Q128JV driver. Apr 12, 2022
@haslinghuis haslinghuis changed the title Kakute H7 Mini SPI Flash not working due to missing Winbond 25Q128JV driver. Kakute H7 Mini SPI Flash not working Apr 12, 2022
@haslinghuis
Copy link
Member Author

Duplicate of #11440

@haslinghuis haslinghuis marked this as a duplicate of #11440 Apr 21, 2022
Finalizing Firmware 4.3 Release automation moved this from Bug Tracker to Finished (Merged) Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Bugs are excluded from automatically being marked as stale
Projects
No open projects
Development

No branches or pull requests

1 participant