Ilya Kurdyukov
Ilya Kurdyukov
Add `--verbose 2` to the spd_dump call: `./spd_dump --verbose 2 \` Don't put all the output (there will be a lot) in the response, just the last lines. If everything...
``` send (8): 7e 00 04 00 00 ff fb 7e ``` This is: ```c BSL_CMD_EXEC_DATA = 0x04, /* Execute from a certain address */ ``` Means that the game...
There were similar problems in [issue 8](https://github.com/ilyakurdyukov/fpdoom/issues/8), when the code hung at the start. On my B310E, the log starts like this and continues: ``` BSL_REP_VER: "SPRD3\0" BSL_REP_VER: "Custom FDL1:...
Can you compile the `fptest` binary yourself and put some prints around?
Get `android-ndk-r26d-linux.zip` (same version I'm using) from [here](https://github.com/android/ndk/wiki/Unsupported-Downloads): Extract it anywhere. Create a link to `android-ndk-r26d` in your home folder. Now use this script, let's call it `build_test.sh`, if you...
Now to the last messages in the log. They are from the `init_chip_id()` function, which completed successfully: https://github.com/ilyakurdyukov/fpdoom/blob/8169157abc61f68dc38f63038a451fe07b2d7847/fpdoom/syscode.c#L934-L946 After that `pin_init()` is called, probably it's stuck there. Similar to [issue...
```c DBG_LOG("pinmap_trace: 0x%08x, 0x%08x\n", addr, val); sys_wait_ms(500); ``` This will print out how the CPU pins are initializing. It will wait half a second after each change. So we'll find...
``` pinmap_trace: 0x8c000298, 0x0000019a pinmap_trace: 0x8c00029c, 0x00000111 pinmap_trace: 0x8c0002a0, 0x00000140 pinmap_trace: 0x8c0002a4, 0x00000231 connection closed ``` Next there should be the following values (judging by the firmware of my B310E,...
I've noticed some weird code in the firmware for the SC6530 that doesn't seem to do anything, but may be needed for some versions of the chip: https://github.com/ilyakurdyukov/fpdoom/blob/8169157abc61f68dc38f63038a451fe07b2d7847/fpdoom/init_sc6530.h#L46-L49 Try changing...
Try putting a trace print [here](https://github.com/ilyakurdyukov/fpdoom/blob/8169157abc61f68dc38f63038a451fe07b2d7847/fpdoom/syscode.c#L495). For example like this: ```c DBG_LOG("lcm_init trace 1\n"); ``` Check if the execution reaches this point. If it does, then place prints between the...