This commit is contained in:
Markus Fröschle
2012-10-14 19:59:08 +00:00
parent dfadd62504
commit 00b0bd6b48
3 changed files with 6 additions and 16 deletions

View File

@@ -143,8 +143,8 @@ copy_firetos:
/* interrupts */ /* interrupts */
* (uint32_t *) 0xf0010004 = 0L; /* disable all interrupts */ * (uint32_t *) 0xf0010004 = 0L; /* disable all interrupts */
MCF_EPORT_EPPAR = 0xaaa8; /* all interrupts on falling edge */ MCF_EPORT_EPPAR = 0xaaa8; /* all interrupts on falling edge */
MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */ MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
MCF_GPT_GMS_IEN | MCF_GPT_GMS_IEN |

View File

@@ -1,10 +0,0 @@
// letztes file der liste
// wichtig als endpunkt des kopierens
.global copy_end
.text
nop
copy_end:
nop
.asciz 'ende copy';

View File

@@ -12,7 +12,7 @@ sd_test:
move.l #'SD-C',(a6) move.l #'SD-C',(a6)
move.l #'ard ',(a6) move.l #'ard ',(a6)
move.l #__Bas_base,a5 // basis addresse (diesen bereich brauchen wir nicht mehr!) move.l #__Bas_base,a5 // basis addresse (diesen bereich brauchen wir nicht mehr!)
move.l #0x1fffffff,d0 // normal dspi move.l #0x1fffffff,d0 // normal dspi
move.l d0,MCF_PAD_PAR_DSPI move.l d0,MCF_PAD_PAR_DSPI
lea MCF_DSPI_DMCR,a0 lea MCF_DSPI_DMCR,a0
@@ -386,7 +386,7 @@ wait_auf_complett:
btst.b #7,dspi_dsr(a0) btst.b #7,dspi_dsr(a0)
beq wait_auf_complett beq wait_auf_complett
move.l dspi_drfr(a0),d5 move.l dspi_drfr(a0),d5
mov3q.l #-1,dspi_dsr(a0) // clr status register mov3q.l #-1,dspi_dsr(a0) // clr status register
rts rts
// daten holen ---------------------------- // daten holen ----------------------------
@@ -395,8 +395,8 @@ sd_rcv_info:
move.b #0xff,d4 move.b #0xff,d4
sd_rcv_rb_w: sd_rcv_rb_w:
bsr sd_get_status bsr sd_get_status
cmp.b #0xfe,d5 // daten bereit? cmp.b #0xfe,d5 // daten bereit?
bne sd_rcv_rb_w // nein-> bne sd_rcv_rb_w // nein->
sd_rcv_rd_rb: sd_rcv_rd_rb:
bsr sd_com bsr sd_com
move.b d5,(a4)+ move.b d5,(a4)+