Set block size to 1kB. Block size is set via plusarg +dlen=NNN
This commit is contained in:
@@ -4,25 +4,26 @@ ffc10113
|
||||
0140006f
|
||||
10056513
|
||||
010007b7
|
||||
00a7aa23
|
||||
00a7ae23
|
||||
00008067
|
||||
fe010113
|
||||
00812c23
|
||||
01000437
|
||||
00442503
|
||||
00842583
|
||||
00010613
|
||||
000105b7
|
||||
00010537
|
||||
00112e23
|
||||
40d000ef
|
||||
00012703
|
||||
010007b7
|
||||
00e7a223
|
||||
00412703
|
||||
00e7a423
|
||||
00812703
|
||||
00e7a623
|
||||
00c12703
|
||||
00e7a823
|
||||
00100713
|
||||
00e7a023
|
||||
409000ef
|
||||
00012783
|
||||
00f42623
|
||||
00412783
|
||||
00f42823
|
||||
00812783
|
||||
00f42a23
|
||||
00c12783
|
||||
00f42c23
|
||||
00100793
|
||||
00f42023
|
||||
0000006f
|
||||
fe010113
|
||||
00912a23
|
||||
@@ -242,7 +243,7 @@ ff877713
|
||||
06d76e63
|
||||
00001737
|
||||
00269693
|
||||
fb070713
|
||||
fb470713
|
||||
00e68733
|
||||
00072703
|
||||
00070067
|
||||
@@ -288,7 +289,7 @@ f49ff06f
|
||||
0a088463
|
||||
fcd51ae3
|
||||
00001b37
|
||||
034b0793
|
||||
038b0793
|
||||
00471713
|
||||
16084a63
|
||||
01c10693
|
||||
@@ -329,7 +330,7 @@ ce0402e3
|
||||
dadff06f
|
||||
0ad51463
|
||||
00001b37
|
||||
034b0793
|
||||
038b0793
|
||||
00471713
|
||||
01c10693
|
||||
00e787b3
|
||||
@@ -474,7 +475,7 @@ ffffffb7
|
||||
00001e37
|
||||
00001637
|
||||
ffffcf13
|
||||
15000313
|
||||
15400313
|
||||
01010e93
|
||||
81060613
|
||||
800e0e13
|
||||
@@ -551,7 +552,7 @@ fe010113
|
||||
01212a23
|
||||
00052903
|
||||
000018b7
|
||||
05488893
|
||||
05888893
|
||||
01312823
|
||||
01412623
|
||||
01512423
|
||||
@@ -710,7 +711,7 @@ fb010113
|
||||
40c78933
|
||||
000015b7
|
||||
00090613
|
||||
25458593
|
||||
25858593
|
||||
00040513
|
||||
ec9ff0ef
|
||||
00042703
|
||||
@@ -1002,39 +1003,39 @@ ffd78513
|
||||
00008067
|
||||
ffc78513
|
||||
00008067
|
||||
000005f8
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
000005e0
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
000005d4
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
00000440
|
||||
000005ec
|
||||
000005fc
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
000005e4
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
000005d8
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
00000444
|
||||
000005f0
|
||||
33323130
|
||||
37363534
|
||||
42413938
|
||||
@@ -16381,4 +16382,3 @@ eb86d391
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
00000000
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define DATA_ADDR 0x10000
|
||||
#define DATA_LEN 0x10000
|
||||
|
||||
void put_char(char c)
|
||||
{
|
||||
IO_REG_CONSOLE = c | IO_REG_CONSOLE_SEND;
|
||||
@@ -15,8 +12,13 @@ void put_char(char c)
|
||||
int main(void)
|
||||
{
|
||||
uint8_t result[16];
|
||||
uint8_t *daddr;
|
||||
uint32_t dlen;
|
||||
|
||||
md5Buf((uint8_t *)DATA_ADDR, DATA_LEN, result);
|
||||
daddr = (uint8_t *)IO_REG_DATA_ADDR;
|
||||
dlen = IO_REG_DATA_LEN;
|
||||
|
||||
md5Buf(daddr, dlen, result);
|
||||
|
||||
IO_REG_MD5_OUT0 = *(uint32_t *)(result + 0);
|
||||
IO_REG_MD5_OUT1 = *(uint32_t *)(result + 4);
|
||||
|
||||
Reference in New Issue
Block a user