@@ -256,7 +256,7 @@ The ARM Musca B1 test chip implements a Serial Configuration Control (SCC)
256
256
register. The purpose of this register is to allow individual control of
257
257
clocks, reset-signals and interrupts to peripherals, and pin-muxing.
258
258
259
- QSPI boot memory
259
+ Boot memory
260
260
================
261
261
Normal Musca-B1 test chip boot operation is from 4MB eFlash by default, and
262
262
it offers the fastest boot method.
@@ -348,38 +348,28 @@ Follow the build steps for AN521 target while replacing the platform with
348
348
``-DTARGET_PLATFORM=MUSCA_B1 `` and compiler (if required) with ``-DCOMPILER=GNUARM ``
349
349
350
350
Copy over tfm as a library to the Zephyr project source and create a shortcut
351
- for the secure veneers.
352
-
353
- .. code-block :: bash
354
-
355
- cp -r install/ $ZEPHYR_PROJECT /src/ext
356
- cp $ZEPHYR_PROJECT /src/ext/install/export/tfm/veneers/s_veneers.o $ZEPHYR_PROJECT /src/ext
357
-
358
-
359
- Build the Zephyr app in the usual way.
351
+ for the secure veneers and necessary header files. All files are in the install
352
+ folder after TF-M built.
360
353
361
354
Uploading an application to V2M Musca B1
362
355
----------------------------------------
363
356
364
357
Applications must be converted to Intel's hex format before being flashed to a
365
358
V2M Musca B1. An optional bootloader can be prepended to the image.
366
- The QSPI flash base address alias is 0x0.
367
-
359
+ The QSPI flash base address alias is 0x0, and the eFlash base address alias is
360
+ 0xA000000.
368
361
The image offset is calculated by adding the flash offset to the
369
362
bootloader partition size.
370
363
371
- A third-party tool (srecord) is used to generate the Intel formatted hex image. For more information
372
- refer to the `Srecord Manual `_.
364
+ A third-party tool (srecord) is used to generate the Intel formatted hex image.
365
+ For more information refer to the `Srecord Manual `_.
373
366
374
367
.. code-block :: bash
375
368
376
- srec_cat $BIN_BOOLOADER -Binary -offset $QSPI_FLASH_OFFSET $BIN_SNS -Binary -offset $IMAGE_OFFSET -o $HEX_FLASHABLE -Intel
377
-
378
- # For a 64K bootloader IMAGE_OFFSET = $QSPI_FLASH_OFFSET + 0x10000
379
- srec_cat $BIN_BOOLOADER -Binary -offset 0x0 $BIN_SNS -Binary -offset 0x10000 -o $HEX_FLASHABLE -Intel
369
+ srec_cat $BIN_BOOLOADER -Binary -offset $FLASH_OFFSET $BIN_SNS -Binary -offset $IMAGE_OFFSET -o $HEX_FLASHABLE -Intel
380
370
381
- # For a 256K bootloader IMAGE_OFFSET = $QSPI_FLASH_OFFSET + 0x40000
382
- srec_cat $BIN_BOOLOADER -Binary -offset 0x0 $BIN_SNS -Binary -offset 0x40000 -o $HEX_FLASHABLE -Intel
371
+ # For a 128K bootloader IMAGE_OFFSET = $FLASH_OFFSET + 0x20000
372
+ srec_cat $BIN_BOOLOADER -Binary -offset 0xA000000 $BIN_SNS -Binary -offset 0xA020000 -o $HEX_FLASHABLE -Intel
383
373
384
374
Connect the V2M Musca B1 to your host computer using the USB port. You should
385
375
see a USB connection exposing a Mass Storage (MUSCA_B) and a USB Serial Port.
0 commit comments