߼
б
鿴: 185|ظ: 0

[Ϸ] ˫оƬϵͳDSP56858

[]

2688

TA

0

TAԴ

һɰм

Rank: 2

2019-10-7 08:41 | ʾȫ¥ |Ķģʽ

1

    DSPͨšơ/ֵӦõս㷺DSPķչԽԽ죬ROMDSPоƬΪDSPӦеҪ֮һڵоƬϵͳУƬȱ㹻ROMռ䣬ɰճ÷1ROMоƬ˫оƬϵͳ1оƬΪ1ṩ㹻ROMռ䣬ROMͺޱҪˡͨDSP56858ԭƬڹ̻ۼԴصļҪ㣬˫оƬϵͳУROMDSPоƬDSP56858EģʽĹʵ֡

2

    DSPӦÿУҪʹһЩоƬԴṩⲿbootstrapĹܣͨɸݲͬҪѡоƬṩʽʵִROMеڵ߶Ϊɿߣ롢ӡԺƬȶֹܺΪһ壬Ϊûṩ㡢һ廯ķֿӲĿ룬ԴӦĶ⣬ƴ룬ʹûԶغijʵʱߵԡΪˣԽʵROMDSPоƬֽΪΣδĿȡԴƬROMУƬڹ̻ʵⲿROMDSPоƬоDSP56858оƬΪչʵӦãܿ⣬ʵ书ܡӦʵMC9S12DP256(³HCS12)ΪеоƬDSP56858Ϊƽ̨õĸоƬӿͼͼ1ʾгHCS12Ƭ㹻FlashEEPROMռ䣬FlashΪDSP56858FlashDSPԴʽHCS12С

21DSP56858Ļ

1MotorolaDSP56800EоƬϵе16λźŴ

2Ƭϼ1Χ豸DSPĴ΢ĹܣΪʹߴͳɱĽ

360ͼ20191007083912039.jpg


ͼ1    DSP56858HCS12ʾͼ

3ó洢ݴ洢˫ṹɴﵽ120MIPSִָٶȣЧʵˮִָзʽ

4Ƭ40K×16bitijRAM24K×16bitRAMԼ1K×16bitROMⲿչɵ2M×16bitij6M×16bitݴ洢ռ䡣

5ṩǿϵͳӿڣ

——6ŵDMA(DirectMemoryAccess)

——2ESSI(EnhancedSynchronousSerialInterfaces)

——2SCI(SerialCommunicationInterfaces)

——1SPI(SerialPortInterface)

——8λӿ(ParallelHostInterface)

6ΪṩEOnCE(EnhancedOnchipEmulation)ģJTAG(JointTestAccessGroup)ӿڣһĵԻ£߹۲ĴڴƬݣκûɷʵƬԴԡ

22HCS12Ļ

1STAR12ϵ16λĵƬ

2ͳɱ͹ģͨź͸ֵӲƷŹ㷺Ӧã

340MIPSִָٶȣ

4Ƭ256KBFlashEEPROM4KBEE-PROM12KBRAM

5FlashΪ16ҳ0×30ҳ0×3Fҳÿҳ64KB,16ַ߽ҳַѰַȫFlashռ䡣

23ɿ

    DSP56858HCS12ʹõɿMetrowerks˾CodeWarriorIDECodeWarriorIDEáǿC/CƬ(burner);ʵʱǶʽӦó򣬲ԲͬоƬӲʹûڴ½ƿ

3Դؼ

31Ŀϲ

311SRecordļʽ

    ͨʵãCodeWarriorܹ1SRecordļļѭMotorolaƶĸʽ淶1ֱ׼ġɴӡʽļSRecordļͨɵĿݽбɵģڼƽ̨䴫ͣҲڱ༭ڽ*ƽ̨Ĵ͡SRecordļ򵥣ͨIDEأ޷ʵʱԡSRecordļɶ¼ɵģÿ¼5ֶɵASCIIַ

ַɣ˸¼ĿͣS0S9

ǶӦ2byteʮһASCIIַʾ¼ַԵĸ

48ַɣҲʮֵõASCIIֶַνڴ洢еĵַ

4

ÿ2byteʮֵõijɶԵASCIIַЩʮֵǴڴ洢еݣϢ

(5)У

ӦʮֵǸݳ¼ֶַ֮ɶۼ֮ã

ÿ¼ɻзֹԲͬĿÿ¼ĽͬôṩһµĻз

    еSRecordļΪS0ļ¼Ϊ¼¼ֶиļϢ·汾ŵȣЩϢǹĶģŵ洢СSRecordļм¼ΪS1S2S3ļ¼ֶַηֱӦ234byteַҪѰַռIJͬSRecordļS7S8S9͵ļ¼Ϊĩ¼˵ֶַγȲͬ⣬Ƕ˳ִеʼֶַΡ

312SRecordļ͸ʽ

    1DSP56858SRecordļ͸ʽļ1S0¼3S3¼1S7¼

    S0¼¼3S0¼0Cʾ120x0CASCIIַԣ

    S3¼¼S3¼25ʾ370x25ASCIIַԣ

    S7¼¼S7¼05ʾ50x05ַԡ

    2HCS12SRecordļ͸ʽļ1S0¼1S1¼S2¼1S9¼

    Ѱַռ䲻ͬHCS12SRecordļDSP56858SRecordļȫͬļ¼ͣߵķʽͬ

    S0¼¼Ϊ60x06ַԣ4ַȫֶַΣ

    S1¼¼Ϊ350x23ַԣ

    S2¼¼Ϊ210x15ַԣ

    S9¼¼Ϊ30x03ַԡ

313SRecordļϲ

    ɴ˿Կļ˲ͬļ¼ͣͨ򵥲µSRecordļSRecordļʽֻҪVC±дһ򵥵ı׼CANSICṩļĿ⺯·ܹʵֽSRecordļϳ1µHCS12SRecordļ

    DSP56858SRecordļ¼ֶΣٸHCS12FlashĵַӦ͡Ⱥ͵ֶַΣУͣ͵õ˷HCS12SRecordļʽҪļ¼עÿ¼֮ӦӦнװļ¼ͿԲ뵽ԭʼHCS12SRecordļӦλáCodeWarriorIDEɵƬغϳɺSRecordļܹʵʱԻй۲쵽DSP56858ԴѾɹдָHCS12Flashռ䡣

32Դ봮ػ

    ϲȻ㣬ҪоƬļɿܹṩϱ׼ĿɵļôͨŽӿڣSCIԴĻƣ˷㡣

321

1DSP56858Դм1γ³Դ򣩣γȡDSP洢еij루Դ򣩣ij봫HCS12

2ͬʱHCS12еĽճ򽫽մSCIӿյݣдָFlashַԪ

3ӲϣSCIӿͳһIJʣ1λʼλ8λݺ1λֹλżУݸʽͼɡ

4ԴֻйԴʱδӦΡˣͨ/ӿ(GeneralPurposeInput/Output)1źΪжϱ־ݸźλߵƽ͵ƽγǷ

322

    ϣΪ˱֤DSPijܹHCS12١׼ȷؽգҪƶ1򵥵ĴЭ֧˫ͨš

323شУ

    շмشУĻơ˫ԤԼ1ַͨͬDSP56858ΪӦͶ⿪Ա֤ЧʣƷпHCS12ͣDSP56858ȴաDSP56858ÿͶijͳöδ̶֮ͣȴ״̬ͬʱHCS12ÿյ󣬸ͬķʽ֮ͣյĺֵȣͿԽδдFlash۱ȽϽǷȣHCS12Ὣõĺֵ͸DSP56858֪ͨDSP56858ͣDSP56858HCS12شĺֵǷش1δ롣شУȻ򵥣ʵЧرշпֵܳijʧӵ

324Flashı̺Ͳ

    ȻEPROMFlash洢ϵͳԺͿ*ԶˣǶFlashIJϸIJҪֻѭЩҪ󣬲ȷر̺ͲFlash

    1Flashʱ150kHz200kHz֮䣬ʱͬںʱȵӰ죬ʱӵ1MHzʱ޷Flashκα̻

    2ɺ󣬸HCS12淶ṩı̻Flash״̬Flashвֵעǣ̻FlashϸʱҪ󣬱ȫչ淶˳дFlashĴ̲ܲκָܹжϡˣHCS12SCIӿԲѯʽжϷʽҪעڲFlash֮ǰرжϡ

4 DSP56858ģʽӦ

    DSP56858Ƭһϵͳģ飨SystemIntegrationModule𲿷ϵͳƹܣʱӡλźţϵģʽģʽⲿI/OƵȹܡΪ㲻ͬʹҪDSP56858ṩ7ģʽÿθλûѡģʽͬģʽҪڳĽӿںͳŵĴ洢

    1ģʽ0ⲿ洢ģʽBootstrapFromByteWideExternalMemoryͨƬѡźѡⲿ洢ijװƬڳRAMִСģʽͷͬ裨ͷݰܳԼRAMдŸóʼַȻÿ16سֵķʽװس롣ɵתʼִַеijע⣺ģʽòԻߴʽҪһѭĹ̡

    2ģʽ1ǴSPIӿڵBootstrapFromSPIĬʹͨSPIӴеEEPROMеƬڳRAMУģʽATMELAT25xxxAT45xxxϵеĴEEPROMǼʹûзҪATMELϵеоƬҲͬоƬATMELоƬĹʽͨSPIϴģʽ£SPIó(master)ʽҪһSPIڴ(slave)ķʽ¡Ӳͼ2ʾ

360ͼ20191007083957714.jpg

ͼ2    Ӳӿ

    ΪȷоƬͣ500kHzҵƵʷһĿַȻҪյASCIIַ“BOOT”ȷΪⲿATMELСAT25xxxϵеEEPROMͬƵʷͶַʱȷյ“BOOT”ַôΪATMELAT25xxxϵеEEPROMǰ߶ǣ20MHzƵʣͬķʽжǷATMELAT45xxxϵеEEPROMˣʹûATMELҪоƬֻҪܰҪķʽͷݣͿԷAT25xxxAT45xxxϵеоƬģʽ

ģʽ2չģʽNormalExpandedMode

ģʽ3ǿչģʽDevelopmentExpandedMode

ģʽ2ģʽ3ֱתⲿ洢ȥС

ģʽ4ͨѡͨĵģʽBootstrapFromHostPortSingleStrobeClocking

ģʽ5ͨ˫ѡͨĵģʽBootstrapFromHostPortDualStrobeClocking

ģʽ4ģʽ5ͨͬ͵еġ

       ģʽ6ͨSCIӿڵBootstrapFromSCIҪ󣬽HCS12SCIIJó38400bpsݸʽΪ1bitʼλ8bitλ1bitֹλżУλӲءģʽʹñȽϼ򵥣ģʽ0һڴͳ֮ǰȴͷͬ˫ͨţȻͳ֡


5
    ʵIJͬϣѡеķԺܺõؽROMDSPоƬ⡣Ȼ˫оƬϵͳROMDSPоƬͬΪоƬϵͳнIJο



ظ

ʹõ ٱ

б
Ҫ¼ſԻ ¼ | ע

ر

վƼһ /5 һ

  • ̳ E

    ɨע
    EEWORLD ٷ΢

  • EE  ֿɵ

    ɨע
    EE ֿɵ

Archiver|ֻ|С|ӹ ( ICP֤ 060456 )

GMT+8, 2019-11-19 15:54 , Processed in 0.084005 second(s), 19 queries , Gzip On, MemCache On.

ٻظ ض б