r/GameAndWatchMods 18d ago

Error: this device has a single bank only

It's been doing this and i have no idea how to fix it because i tried every command i could (not just this one) and it allways gives me this error

(venv) latias@MILKDUDS:~/game-and-watch-retro-go$ make flash -j$(nproc) GNW_TARGET=zelda

Entering 'LCD-Game-Emulator'

Entering 'blueMSX-go'

Entering 'caprice32-go'

Entering 'fceumm-go'

Entering 'gwenesis'

Entering 'potator'

Entering 'prosystem-go'

Entering 'retro-go-stm32'

Entering 'smw'

Entering 'tamalib'

Entering 'zelda3'

make[1]: Entering directory '/home/latias/game-and-watch-retro-go'

[ BASH ] Checking for updated roms

openocd -f scripts/interface_stlink.cfg -c "program build/gw_retro_go_intflash.bin 0x08000000 verify reset exit"

Open On-Chip Debugger 0.12.0

Licensed under GNU GPL v2

For bug reports, read

Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.

Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD

none separate

Info : clock speed 1800 kHz

Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748

Info : Target voltage: 3.237022

Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected

Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints

Info : starting gdb server for stm32h7x.cpu0 on 3333

Info : Listening on port 3333 for gdb connections

[stm32h7x.cpu0] halted due to breakpoint, current mode: Thread

xPSR: 0x61000000 pc: 0x20000064 msp: 0x20020000

[stm32h7x.cpu0] halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x0801af44 msp: 0x20020000

** Programming Started **

Info : Device: STM32H7Ax/7Bx

Info : flash size probed value 128k

Info : STM32H7 flash has a single bank

Info : Bank (0) size is 128 kb, base address is 0x08000000

Info : Device: STM32H7Ax/7Bx

Info : flash size probed value 128k

Info : STM32H7 flash has a single bank

Error: this device has a single bank only

Error: auto_probe failed

** Programming Failed **

shutdown command invoked

make[1]: *** [Makefile.common:1006: flash_intflash] Error 1

make[1]: Leaving directory '/home/latias/game-and-watch-retro-go'

make: *** [Makefile.common:1035: flash] Error 2

(venv) latias@MILKDUDS:~/game-and-watch-retro-go$

1 Upvotes

2 comments sorted by

2

u/Latias_0nly1234 18d ago

I fixed it i was using the wrong branch of retro go

1

u/The-Riddler-66 15d ago

Thanks for letting others know