From 350db0c095c9f0166432c175ad9322355a920c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Ker=C3=A4nen?= Date: Sun, 11 Dec 2022 08:11:06 +0200 Subject: [PATCH 1/2] assembly: drop .elf extension from bmc file name The BMC release does not have .elf extension in the file name. --- ASSEMBLY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASSEMBLY.md b/ASSEMBLY.md index 8d0632e..4414d5b 100644 --- a/ASSEMBLY.md +++ b/ASSEMBLY.md @@ -82,7 +82,7 @@ $ cargo install probe-run 5. Connect your Arm Serial Wire Debug probe to J1001, the BMC programming header. * If you have 12V DC power to the board, the 3.3V pin will be live and should be treated as an output - connect it to the VTref pin of your programmer if it has one. * If you do not have 12V DC power to your board (maybe you haven't fitted any of the through-hole parts yet), you can inject 3.3V power here if you are careful. This will reverse-power the 3.3V standby regulator, but it seems to survive (at least for short periods of time). -6. Run `probe-run --chip STM32F030K6Tx ./neotron-bmc-pico.elf` and ensure it completes successfully and prints some log messages from the chip. If there are any errors, investigate. +6. Run `probe-run --chip STM32F030K6Tx ./neotron-bmc-pico` and ensure it completes successfully and prints some log messages from the chip. If there are any errors, investigate. 7. Disconnect the Arm SWD programmer and remove any power from the board. 8. Apply 12V DC power to the board and observe that the Power LED is blinking. 9. Tap the ON/OFF button and observe the Power LED is now on solidly. From 319b0d5f7acee5181c023b140e67257863911e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Ker=C3=A4nen?= Date: Sun, 11 Dec 2022 08:12:20 +0200 Subject: [PATCH 2/2] assembly: add information for installing target The Rust toolchain does have a good error message about this if the target is not installed, but it doesn't hurt to have it in the instructions too. --- ASSEMBLY.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ASSEMBLY.md b/ASSEMBLY.md index 4414d5b..233e542 100644 --- a/ASSEMBLY.md +++ b/ASSEMBLY.md @@ -102,8 +102,9 @@ $ cargo install probe-run 4. Connect 12V DC to your board and press the ON/OFF button (if the BMC isn't programmed, do that first). 5. Connect your Arm Serial Wire Debug probe to the SWD pins of the Raspberry Pi Pico. -6. Run `cargo-run --release` and ensure it completes successfully and prints some log messages from the chip. If there are any errors, investigate. -7. Check you have some output on the VGA connector. +6. Add the target architecture to Rust installation with `rustup target add thumbv6m-none-eabi`. +7. Run `cargo run --release` and ensure it completes successfully and prints some log messages from the chip. If there are any errors, investigate. +8. Check you have some output on the VGA connector. The Neotron Pico BIOS usually includes some version of the Neotron OS, but at the time of writing (November 2022) it's at a very very early stage so it may not do much beyond displaying some text.