Markus Fröschle
|
b85b977223
|
renamed functions to spi_...() and sd_card...() according to target
|
2012-12-03 12:02:55 +00:00 |
|
Markus Fröschle
|
bb5159cca4
|
removed a few other volatile declarations
|
2012-11-28 04:25:09 +00:00 |
|
Markus Fröschle
|
8020d107b1
|
removed stupid "volatile void" declaration
|
2012-11-28 04:18:13 +00:00 |
|
Markus Fröschle
|
85d23c994a
|
write diagnostic message if PIC initialization failed
|
2012-11-24 07:00:00 +00:00 |
|
Markus Fröschle
|
a9d3cfeeb5
|
cosmetic changes
|
2012-11-20 22:27:47 +00:00 |
|
Markus Fröschle
|
5d97a5161e
|
added comment
|
2012-11-20 22:21:49 +00:00 |
|
Markus Fröschle
|
b084209e46
|
added comments
|
2012-11-19 16:48:17 +00:00 |
|
Markus Fröschle
|
f2aa8f6bad
|
use shorter sd_send_bytes() routines
|
2012-11-19 16:42:46 +00:00 |
|
Markus Fröschle
|
459e39a42d
|
use shorter sd_send_bytes() routines
|
2012-11-19 15:02:06 +00:00 |
|
Markus Fröschle
|
55d26c5271
|
modified as inline functions
|
2012-11-19 14:19:10 +00:00 |
|
Markus Fröschle
|
11b5d0c01b
|
added optimized read and write routines
|
2012-11-19 14:00:00 +00:00 |
|
Markus Fröschle
|
b3b93a8041
|
new include file sd_card.h
|
2012-11-19 06:37:17 +00:00 |
|
Markus Fröschle
|
f0d6cf3abd
|
beefed up with Freescale's symbolic constants which hopefully makes the code more readable.
|
2012-11-18 20:57:16 +00:00 |
|
Markus Fröschle
|
c826e061f2
|
updated comments
|
2012-11-18 10:28:21 +00:00 |
|
Markus Fröschle
|
2077415729
|
declared wait()-routines as inline void volatile since gcc decided to optimize out them sometimes. Do we need __attribute__(always_inline) ?
|
2012-11-18 10:10:38 +00:00 |
|
Markus Fröschle
|
77748bdbff
|
loops to trick out DSPI FIFO
|
2012-11-18 09:25:28 +00:00 |
|
Markus Fröschle
|
1df70e6aee
|
started sd_card.c transcribe to C
|
2012-11-18 09:20:50 +00:00 |
|
Markus Fröschle
|
9aa82d6a91
|
added NOP() macro
|
2012-11-18 07:42:02 +00:00 |
|
Markus Fröschle
|
e6f5d863fc
|
return from busy-waiting after a certain time
|
2012-11-18 07:39:33 +00:00 |
|
Markus Fröschle
|
f4a0dec4e1
|
there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood...
|
2012-11-17 22:31:01 +00:00 |
|
Markus Fröschle
|
700ee9adf6
|
there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood...
|
2012-11-17 21:12:54 +00:00 |
|
Markus Fröschle
|
b8eb3353db
|
disabled FPGA early until its initialized freshly.
|
2012-11-17 21:05:12 +00:00 |
|
Markus Fröschle
|
913ea1f46a
|
modified busy waiting loops (new function: waitfor(us, condition) to only wait for a certain time until the expected condition comes true, otherwise just return without the job done
|
2012-11-17 14:22:34 +00:00 |
|
Markus Fröschle
|
d27ffe07d7
|
seems to hang in sdcard_idle. Commented that call again.
|
2012-11-15 21:05:24 +00:00 |
|
Markus Fröschle
|
807f433a2d
|
enabled SD card routines in bas again.
SD card detection seems to work.
|
2012-11-15 20:54:56 +00:00 |
|
Markus Fröschle
|
8c123b0ac3
|
replaced wait_xms()- and wait_xus()-routines by a generic one that takes the number of us to wait as a parameter
|
2012-11-15 06:25:15 +00:00 |
|
Vincent Rivière
|
02aeeb262f
|
Fixed NVRAM initialization.
|
2012-11-13 00:10:01 +00:00 |
|
Vincent Rivière
|
d306e15c92
|
Jump to _rom_entry instead of ___BOOT_FLASH.
|
2012-11-12 15:49:58 +00:00 |
|
Vincent Rivière
|
75a92fa9e0
|
Clean up and comments.
|
2012-11-12 15:41:09 +00:00 |
|
Vincent Rivière
|
88ecc876a9
|
Removed useless cast.
|
2012-11-10 17:10:46 +00:00 |
|
Vincent Rivière
|
71a89c5213
|
Fixed warning about unused variable.
|
2012-11-10 16:41:11 +00:00 |
|
Vincent Rivière
|
93e537b0e7
|
Removed useless jmp variable.
|
2012-11-07 22:20:13 +00:00 |
|
Vincent Rivière
|
4ec8898ed2
|
Renamed _Bas_base and __BAS_VMA to __BAS_IN_RAM.
|
2012-11-07 22:18:27 +00:00 |
|
Vincent Rivière
|
25b5df12b4
|
Use __STRAM_END.
|
2012-11-07 21:54:21 +00:00 |
|
Vincent Rivière
|
97099dc581
|
Renamed _tos_base to __TOS.
|
2012-11-07 21:53:01 +00:00 |
|
Vincent Rivière
|
c9b5813511
|
Added ST-RAM and FastRAM symbols.
|
2012-11-07 21:16:19 +00:00 |
|
Vincent Rivière
|
4a969e2452
|
Fixed potential BaS size alignment issue.
|
2012-11-07 20:24:42 +00:00 |
|
Markus Fröschle
|
75ea5a353b
|
more diagnostic output
|
2012-11-04 19:18:19 +00:00 |
|
Markus Fröschle
|
8bad0545d2
|
adopted original preprocessor defines
|
2012-11-04 16:52:31 +00:00 |
|
Markus Fröschle
|
43d20c0e14
|
fixed irq macro definition
|
2012-11-04 16:18:14 +00:00 |
|
Markus Fröschle
|
f0e53a7f94
|
move #0x2[\]200,sr
|
2012-11-04 11:26:26 +00:00 |
|
Markus Fröschle
|
d02a99cc51
|
re-enabled MMU
|
2012-11-04 11:23:48 +00:00 |
|
Markus Fröschle
|
63d30c3943
|
compile cache.c -mpcrel
|
2012-11-03 22:35:47 +00:00 |
|
Markus Fröschle
|
62f8897ad3
|
removed register variables. Better let the compiler decide about.
|
2012-11-03 22:28:28 +00:00 |
|
Markus Fröschle
|
413fe9bc96
|
|
2012-11-01 20:36:52 +00:00 |
|
Markus Fröschle
|
06bda16b90
|
finally, we reach the BaS() code which dies when enabling interrupts (exception routine bad?)
|
2012-11-01 08:31:12 +00:00 |
|
Markus Fröschle
|
b65fcc3d26
|
got rid of uart_out_word()
|
2012-10-31 22:04:53 +00:00 |
|
Markus Fröschle
|
0d341c123b
|
|
2012-10-31 21:19:19 +00:00 |
|
Markus Fröschle
|
067e20f3ac
|
added diagnostic output
|
2012-10-31 21:14:31 +00:00 |
|
Markus Fröschle
|
4f07bb08e3
|
activated cache flush again
|
2012-10-31 20:36:39 +00:00 |
|