Difference: MicroSdBlocks (96 vs. 97)

Revision 972022-07-16 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 951 to 951
 ... 20021BB0 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ........ ........ | ok.
Added:
>
>

Simple Block Operations

Init flash drive

0 drive[RET] ok.
#blocks .[RET] 16384  ok.

there are 16384 blocks, this means 16 MiB.

get the address of block 1000 and write "Hallo Velo"

1000 buffer hex.[RET] 24017588  ok.
1000 block .str" Hallo Velo"[RET]  ok.
1000 block strlen type[RET] Hallo Velo ok.
 
Added:
>
>
Save Block 1000 to the disk:
update save-buffers[RET]  ok.
 
Added:
>
>
Restart the Forth System (power cycle, reset, or Ctrl-C):
Mecrisp-Cube 1.4.4 for STM32H743, 256/1024 KiB RAM/FLASH dictionary (C) 2022 peter@spyr.ch
  * Firmware Package STM32Cube H7 V1.10.0, USB-CDC (C) 2021 STMicroelectronics
  * CMSIS-RTOS V2 FreeRTOS wrapper, FreeRTOS Kernel V10.3.1 (C) 2020 Amazon.com
  * FatFs for internal flash and microSD - Generic FAT fs module  R0.12c (C) 2017 ChaN
  * tiny vi - part of BusyBox (C) 2000, 2001 Sterling Huxley
0:/etc/rc.local: can't find file
1000 block strlen type[RET] Hallo Velo ok.

 
Added:
>
>
 

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback