Skip to content
Snippets Groups Projects
Commit 8b5ab2e8 authored by dam1n19's avatar dam1n19
Browse files

updated linker scripts

parent 67030d51
No related branches found
No related tags found
1 merge request!1changed imem to rom to allow initial program loading, updated bootloader code...
......@@ -33,8 +33,8 @@ INCLUDE "lib-nosys.ld"
MEMORY
{
FLASH (rx) : ORIGIN = 0x01000000, LENGTH = 0x1000 /* 4K */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000 /* 64K */
FLASH (rx) : ORIGIN = 0x10000000, LENGTH = 0x1000 /* 4K */
RAM (rwx) : ORIGIN = 0x30000000, LENGTH = 0x3C00 /* 15K */
}
INCLUDE "sections.ld"
......@@ -34,7 +34,7 @@ INCLUDE "lib-nosys.ld"
MEMORY
{
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x10000 /* 64K */
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0xFC00 /* 63K */
RAM (rwx) : ORIGIN = 0x30000000, LENGTH = 0x3C00 /* 15K */
/* 64K is available, but reserve some space for */
/* 1) debug tester communication for debug tests */
/* 2) DMA data structure for DMA tests */
......
......@@ -440,7 +440,7 @@ void aes128_decrypt_dma(uint8_t *key, uint32_t nbytes, uint8_t *input, uint8_t *
int main(void) {
char rx_char [256] = "soclabs AES128v1"; // init to 0
char rx_char [256] = "SoCLabs AES128v1"; // init to 0
unsigned char id_string [16] = {0};
int i, fail=0;
unsigned char * p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment