- 博客(4)
- 收藏
- 关注
原创 分享调试Hi3519V100的一些经历
所以之前的DDR寄存器的配置应该是对的,此外海思使用的大多数寄存器,官方提供的手册中都没有说明。烧写不带寄存器参数的Uboot到DDR中,由于会跳过init_register函数,在ddr_training函数失败,具体原因是读写了一个ddrc(ddr ctrl)类寄存器后程序卡死。⑤通过Uboot中的程序,擦除flash,然后将DDR中的Uboot拷贝到flash中去,rest从flash启动。更改Uboot中所带的寄存器信息,使得DDR的时钟为不同的频率,烧写Uboot到DDR失败,现象一致。
2023-05-07 19:40:47 488 1
原创 关于AES的学习
AES128算法 https://blog.csdn.net/u013605322/article/details/83443612?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_rank_v2~rank_aggregation-1-83443612.pc_agg_rank_aggregation&utm_term=aes128加密算法&spm=1000.212...
2021-07-14 21:32:52 140
原创 stdint.h
//// stdint.h//// Copyright (c) Microsoft Corporation. All rights reserved.//// The C Standard Library <stdint.h> header.//#pragma once#define _STDINT#include <vcruntime.h>#if _VCRT_COMPILER_PREPROCESSOR#pragma warning(push)...
2021-07-14 21:30:17 333
原创 关于AES
#include <stdint.h>#include <stdio.h>#include <string.h>typedef struct { uint32_t eK[44], dK[44]; // encKey, decKey int Nr; // 10 rounds}AesKey;#define BLOCKSIZE 16 //AES-128分组长度为16字节// uint8_t y[4] -> uint32_t x#...
2021-07-14 21:28:49 248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人