c - how to "migrate" from cortexM3 to cortexM4 -


i have old project, run on sam3s( cortex-m3) , need use base ew project should run on sam4s cortex-m4 . after changing oopeocd.cfg errors, , don't mean :

error: target not examined yet in procedure 'halt'  error: jtag scan chain interrogation failed: zeroes error: check jtag interface, timings, target power, etc. error: trying use configured scan chain anyway... error: at91sam3s4.cpu: ir capture error; saw 0x00 not 0x01 error: target not examined yet 

can here give hint should ?

update

now error :

error: sam4 chipid 0x28ab07e0 not found in table (perhaps can id chip?)          version:     0 [0x0000]             eproc:     7 [0x0007] cortex-m4          nvpsize:     7 [0x0007] 128k bytes         nvpsize2:     0 [0x0000] none         sramsize:    11 [0x000b] 64k bytes             arch:   138 [0x008a] atsam3s/sam4s xc series (100-pin version)           nvptyp:     2 [0x0002] embedded flash memory            extid:     0 [0x0000] (exists: no) error: auto_probe fail 

any idea what's problem

ed

error: at91sam3s4.cpu: ir capture error; saw 0x00 not 0x01 

you need architecture , bsp files cortex-m4. can merge existing project bsp of cortex m4.

at91sam3s4.cpu seems belongs cortex m3. so, not there.

however, more answers on atmel website http://www.atmel.com/tools/sam4s-ek.aspx


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -