Chris Johns commented on a discussion on shell/memory_commands.md: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/261#note_159101

 >  : The following is an example of how to use `mdump`:
 >  
 >    ```shell
 > -  SHLL [/] $ mdump 0x10000 32
 > -  0x0001000000 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
 > -  0x0001001000 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
 > -  SHLL [/] $ mdump 0x02000000 32
 > -  0x02000000A1 48 00 00 29 00 80 33-81 C5 22 BC A6 10 21 00 .H..)..3.."...!.
 > -  0x02000010A1 48 00 00 29 00 80 33-81 C5 22 BC A6 10 21 01 .H..)..3.."...!.
 > -  SHLL [/] $ mdump 0x02001000 32
 > -  0x0200100003 00 80 00 82 10 60 00-81 98 40 00 83 48 00 00 ......`.....H..
 > -  0x0200101084 00 60 01 84 08 A0 07-86 10 20 01 87 28 C0 02 ..`....... ..(..
 > +  SHLL [/] # mdump 0x40000000 32
 > +    40000000 A0 10 00 00 29 10 00 04-81 C5 20 00 A6 10 20 00 ....)..... ... 
 > .

The docs look fine to me and this MR is wrong. Here is a print from an 
application:

```
xcon [/] # mdump 0x100000
  0x100000 E6 05 00 00 EE 15 11 00-EE 95 20 00 EE 95 30 00 .......... ...0.
  0x100010 EE 95 40 00 EE 95 50 00-EE 95 60 00 EE 95 70 00 [email protected]...`...p.
  0x100020 EE 15 81 00 EE 15 91 00-EE 15 A1 00 EE 15 B1 00 ................
  0x100030 EE 15 C1 00 EE 15 D1 00-EE 15 E1 00 EE 15 F1 00 ................
  0x100040 EE 15 01 01 EE 15 11 01-EE 15 21 01 EE 15 31 01 ..........!...1.
  0x100050 EE 15 41 01 EE 15 51 01-EE 15 61 01 EE 15 71 01 ..A...Q...a...q.
  0x100060 EE 15 81 01 EE 15 91 01-EE 15 A1 01 EE 15 B1 01 ................
```

My guess is the command used was run from a test and not an application and as 
a result `printk` is being used. I suggest you fix `printk` to match `printf`.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/261#note_159101
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/19/sent_notifications/5-51yr2i9784oqq7ko7x6ee8v3e-j/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to