Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
soclabs-cortexm0-mcu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dwf1m12
soclabs-cortexm0-mcu
Commits
3af73ae9
Commit
3af73ae9
authored
2 years ago
by
dwf1m12
Browse files
Options
Downloads
Patches
Plain Diff
pad out start of boot message to fix boot rom with ft1248 interface
parent
96725d36
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Cortex-M0/soclabs_demo/software/common/bootloader/bootloader.c
+2
-2
2 additions, 2 deletions
...x-M0/soclabs_demo/software/common/bootloader/bootloader.c
Cortex-M0/soclabs_demo/systems/cortex_m0_mcu/verilog/bootrom.v
+10
-10
10 additions, 10 deletions
...x-M0/soclabs_demo/systems/cortex_m0_mcu/verilog/bootrom.v
with
12 additions
and
12 deletions
Cortex-M0/soclabs_demo/software/common/bootloader/bootloader.c
+
2
−
2
View file @
3af73ae9
...
@@ -123,8 +123,8 @@ int main (void)
...
@@ -123,8 +123,8 @@ int main (void)
// UART init
// UART init
UartStdOutInit
();
UartStdOutInit
();
UartPuts
(
"
\n
SOCLABS: ARM Cortex-M0 SDK
\n
"
);
// CMSDK boot loader\n");
UartPuts
(
"
\
n\n\
n
SOCLABS: ARM Cortex-M0 SDK
\n
"
);
// CMSDK boot loader\n");
UartPuts
(
" - load flash
\n
\n
"
);
UartPuts
(
" - load flash
\n
"
);
FlashLoader
();
FlashLoader
();
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Cortex-M0/soclabs_demo/systems/cortex_m0_mcu/verilog/bootrom.v
+
10
−
10
View file @
3af73ae9
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
// Contributors
// Contributors
//
//
// David Flynn (d.w.flynn@soton.ac.uk)
// David Flynn (d.w.flynn@soton.ac.uk)
// Date: 220
705170
7
// Date: 220
901213
7
// Copyright (c) 2021-2, SoC Labs (www.soclabs.org)
// Copyright (c) 2021-2, SoC Labs (www.soclabs.org)
//------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------
module
bootrom
(
module
bootrom
(
...
@@ -200,18 +200,18 @@ always @(addr_r) case(addr_r[9:2])
...
@@ -200,18 +200,18 @@ always @(addr_r) case(addr_r[9:2])
8'hb5
:
RDATA
<=
32'h63205041
;
// 0x02d4
8'hb5
:
RDATA
<=
32'h63205041
;
// 0x02d4
8'hb6
:
RDATA
<=
32'h7261656c
;
// 0x02d8
8'hb6
:
RDATA
<=
32'h7261656c
;
// 0x02d8
8'hb7
:
RDATA
<=
32'h000a6465
;
// 0x02dc
8'hb7
:
RDATA
<=
32'h000a6465
;
// 0x02dc
8'hb8
:
RDATA
<=
32'h
434f53
0a
;
// 0x02e0
8'hb8
:
RDATA
<=
32'h
530a0a
0a
;
// 0x02e0
8'hb9
:
RDATA
<=
32'h
5342
414c
;
// 0x02e4
8'hb9
:
RDATA
<=
32'h414c
434f
;
// 0x02e4
8'hba
:
RDATA
<=
32'h
5241
203a
;
// 0x02e8
8'hba
:
RDATA
<=
32'h203a
5342
;
// 0x02e8
8'hbb
:
RDATA
<=
32'h
6f43
204d
;
// 0x02ec
8'hbb
:
RDATA
<=
32'h204d
5241
;
// 0x02ec
8'hbc
:
RDATA
<=
32'h7
8657472
;
// 0x02f0
8'hbc
:
RDATA
<=
32'h7
4726f43
;
// 0x02f0
8'hbd
:
RDATA
<=
32'h
2030
4d2d
;
// 0x02f4
8'hbd
:
RDATA
<=
32'h4d2d
7865
;
// 0x02f4
8'hbe
:
RDATA
<=
32'h
0a4b
4453
;
// 0x02f8
8'hbe
:
RDATA
<=
32'h4453
2030
;
// 0x02f8
8'hbf
:
RDATA
<=
32'h00000
000
;
// 0x02fc
8'hbf
:
RDATA
<=
32'h00000
a4b
;
// 0x02fc
8'hc0
:
RDATA
<=
32'h6c202d20
;
// 0x0300
8'hc0
:
RDATA
<=
32'h6c202d20
;
// 0x0300
8'hc1
:
RDATA
<=
32'h2064616f
;
// 0x0304
8'hc1
:
RDATA
<=
32'h2064616f
;
// 0x0304
8'hc2
:
RDATA
<=
32'h73616c66
;
// 0x0308
8'hc2
:
RDATA
<=
32'h73616c66
;
// 0x0308
8'hc3
:
RDATA
<=
32'h000
a
0a68
;
// 0x030c
8'hc3
:
RDATA
<=
32'h000
0
0a68
;
// 0x030c
8'hc4
:
RDATA
<=
32'h48034904
;
// 0x0310
8'hc4
:
RDATA
<=
32'h48034904
;
// 0x0310
8'hc5
:
RDATA
<=
32'h47706008
;
// 0x0314
8'hc5
:
RDATA
<=
32'h47706008
;
// 0x0314
8'hc6
:
RDATA
<=
32'h48014902
;
// 0x0318
8'hc6
:
RDATA
<=
32'h48014902
;
// 0x0318
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment