'잡동사니'에 해당되는 글 13031건

  1. 2023.07.17 휴가 1일차
  2. 2023.07.16 악당 2호 아빠 새끼 발톱 공격
  3. 2023.07.15 토닉워터 먹어봄
  4. 2023.07.14 envelope detection
  5. 2023.07.14 CCSv8.3.1 on win10
  6. 2023.07.14 CCS v8.3.1 on ubuntu 22.04
  7. 2023.07.14 spectrum digital XDS510 USB
  8. 2023.07.13 TMS320 소비전력
  9. 2023.07.13 audacity spectrogram 설정
  10. 2023.07.12 삼성 always 9 13인치 분해

하이원 리조트 옴

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

피곤  (0) 2023.07.29
휴가 2일차  (0) 2023.07.18
악당 2호 아빠 새끼 발톱 공격  (0) 2023.07.16
토닉워터 먹어봄  (0) 2023.07.15
기절 2  (0) 2023.07.09
Posted by 구차니

킥보드로 밟아 버림.. -_-

또 한 달은 넘게 고생하겠네 -_-

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 2일차  (0) 2023.07.18
휴가 1일차  (0) 2023.07.17
토닉워터 먹어봄  (0) 2023.07.15
기절 2  (0) 2023.07.09
개피곤  (0) 2023.07.08
Posted by 구차니

음.. 사이다에 구연산 바몬드 섞은 느낌 -ㅁ-!

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

휴가 1일차  (0) 2023.07.17
악당 2호 아빠 새끼 발톱 공격  (0) 2023.07.16
기절 2  (0) 2023.07.09
개피곤  (0) 2023.07.08
더워어어어어  (0) 2023.06.28
Posted by 구차니
이론 관련/전기 전자2023. 7. 14. 16:40

단순하게 low pass flter만 적용하면 포락선이 나올줄 알았는데 의외로 복잡하네

일단은 이미지 상으로는 부드럽지만 좀 떨어지냐(힐베르트 변환), 거칠지만 예리하냐(제곱)로 갈리게 되는 듯.

 

[링크 : https://kr.mathworks.com/help/dsp/ug/envelope-detection.html]

 

FIR 필터(finite impulse response filter) - 오픈루프, 회귀성분을 갖지 않음
IIR 필터(infinite impulse response filter) - 피드백, 입력신호의 값과 출력신호가 재귀적으로 적용, 구조 간단

[링크 : https://m.blog.naver.com/pro_000/221156325705]

'이론 관련 > 전기 전자' 카테고리의 다른 글

역극성 보호  (0) 2023.08.01
유선 전화기 들면 들리는 소리  (0) 2023.07.25
RC 회로 - RC 발진 / LPF / HPF  (0) 2023.07.10
pvt - process voltage temperature  (0) 2023.06.30
필터 차수(order)  (0) 2023.06.21
Posted by 구차니
embeded/DSP C2000 Ti2023. 7. 14. 12:02

윈도우용 CCS v 8.3.1을 설치해서 시도!

일단은 리눅스에서는 안뜨던 Spectrum Digital XDS510USB가 뜬다.

버그인진 모르겠지만 Basic Example에 Hello World 로 생성하면

어셈블로로 작성된 로더쪽 스크립트 메모리 번지가 잘못되었다고 뜨는데 나중에 찾아봐야겠다.

 

 

Verify 버튼을 누르니까 아래와 같이 먼가 테스트를 한다.

JTAG에 TMS320F2808 물려두고 전원 넣어둔 상태라 그런가

scan chain에 1개의 장치가 발견되었다고 뜬다.

 

근데 정작 디버그 모드 들어가려고 하면 이렇게 에러 발생 -_-

 

저 OCS가 On Chip Storage 이런건 아니겠지?

C28xx: Error connecting to the target: Error 0x80000200/-1135 Fatal Error during: OCS,  Unrecoverable emulation error 

 

일단은~ 설정 스크립트가 지칭하는대로 따라가보자..

verify 에서 문제가 없다고 한 녀석은 아래의 경로고

C:\Users\free\AppData\Local\Texas Instruments\CCS\ti\0\0\BrdDat\testBoard.dat

# config version=3.5
$ sdopts
  emuportaddr=0x510
  emujclkmode=Counter
  emuportspeed=0
  emudisablepolling=YES
  emujclkfreqmhz=10
  emutckdiv=1
  emualttcktiming=NO
  emupowermode=Threshold_1Volt_IO
  emuiooffatexit=YES
  emuiooffatdisconnect=YES
  emu0pinlevel=HIZ
  emu1pinlevel=HIZ
  emuassertsysreset=NO
  emupulsetrst=NO
  emuserialnumber=ANY
  emuicepickrtrextended=NO
  devdelayedinit=NO
$ /
@ c28xx family=tms320c28xx irbits=38 drbits=1
# /

[링크 : https://software-dl.ti.com/ccs/esd/documents/ccsv7_debugging_jtag_connectivity_issues.html#C28x_the_debug_probe_reported_an_error]

 

HIZ 이런게 나오길래 생각을 해보니 SDConfigEx 라는 툴에서 XDS510USB로 했을때 나오던 거랑 비슷한 느낌이다?

TCK 주파수가 13에서 10으로 설정된걸 제외하면 사실상 같은 설정인 느낌.

 

겸사겸사 SDConfigEx에서도 해보니

TMS320F2808 보드에 전원과 JTAG 연결하고 emulator - test 하면 아래와 같이 성공한다.

** Emulator Test **
 $$ EmuProductName=XDS510USB
 $$ EmuPortAddr=0x510
 $$ EmuPortMode=USB
 $$ ProductId=510
 $$ ProductVersion=84
 ** Emulator Scan Test
   -- Found JTAG IR length of 3
   -- Found 1 JTAG device(s) in the scan chain

 

emulator - diagnostics 누르고 하면

 

최소한 에러는 안나는데 멀까?

** Checking for a valid emulator/eZdsp
** Running diagnostic scan on EmuProductName=XDS510USB

** Checking emulator/eZdsp scan connection

Performed 1 test loops with 0 errors.

 

 

SDConfigEx 에서 저장되는 파일은 아래 경로에 존재하는데 XML인걸 제외하면 설정값들은 동일하다.

C:\ti\ccsv8\ccs_base\emulation\specdig\sdconfigex\sdopts.xml

<SDConfiguration SelectedEmulator="XDS510USB_510">
<Emulator id="XDS510PP_3BC">3BC
                <Option id="EmuPortAddr">0X3BC</Option>
<Option id="EmuPortMode">SPP8</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510PP_PLUS</Option>
<Option id="EmuDoWaitInReset">NO</Option>
</Emulator>
<Emulator id="XDS510PP_278">278
                <Option id="EmuPortAddr">0X278</Option>
<Option id="EmuPortMode">SPP8</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510PP_PLUS</Option>
<Option id="EmuDoWaitInReset">NO</Option>
</Emulator>
<Emulator id="XDS510PP_378">378
                <Option id="EmuPortAddr">0X378</Option>
<Option id="EmuPortMode">SPP8</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510PP_PLUS</Option>
<Option id="EmuDoWaitInReset">NO</Option>
</Emulator>
<Emulator id="SPI525_100">100
                <Option id="EmuPortAddr">0X100</Option>
<Option id="EmuPortMode">PCI</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">SPI525</Option>
<Option id="EmuDoWaitInReset">NO</Option>
</Emulator>
<Emulator id="XDS510USB_510">510
                <Option id="EmuPortAddr">0X510</Option>
<Option id="EmuPortMode">USB</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510USB</Option>
<Option id="EmuDoWaitInReset">NO</Option>
<Option id="EmuJclkMode">Counter</Option>
<Option id="EmuJclkFreqMHz">13</Option>
<Option id="EmuTckDiv">1</Option>
<Option id="EmuAltTckTiming">NO</Option>
<Option id="EmuPowerMode">Threshold_1Volt_IO</Option>
<Option id="EmuIoOffAtExit">YES</Option>
<Option id="EmuIoOffAtDisconnect">YES</Option>
<Option id="Emu0PinLevel">HIZ</Option>
<Option id="Emu1PinLevel">HIZ</Option>
<Option id="EmuAssertSysReset">NO</Option>
<Option id="EmuPulseTrst">NO</Option>
<Option id="EmuSerialNumber">ANY</Option>
</Emulator>
<Emulator id="XDS510USB_511">511
                <Option id="EmuPortAddr">0X511</Option>
<Option id="EmuPortMode">USB</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510USB</Option>
<Option id="EmuDoWaitInReset">NO</Option>
<Option id="EmuJclkMode">Counter</Option>
<Option id="EmuJclkFreqMHz">13</Option>
<Option id="EmuTckDiv">1</Option>
<Option id="EmuAltTckTiming">NO</Option>
<Option id="EmuPowerMode">Threshold_1Volt_IO</Option>
<Option id="EmuIoOffAtExit">YES</Option>
<Option id="EmuIoOffAtDisconnect">YES</Option>
<Option id="Emu0PinLevel">HIZ</Option>
<Option id="Emu1PinLevel">HIZ</Option>
<Option id="EmuAssertSysReset">NO</Option>
<Option id="EmuPulseTrst">NO</Option>
<Option id="EmuSerialNumber">ANY</Option>
</Emulator>
<Emulator id="XDS510USB_512">512
                <Option id="EmuPortAddr">0X512</Option>
<Option id="EmuPortMode">USB</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510USB</Option>
<Option id="EmuDoWaitInReset">NO</Option>
<Option id="EmuJclkMode">Counter</Option>
<Option id="EmuJclkFreqMHz">13</Option>
<Option id="EmuTckDiv">1</Option>
<Option id="EmuAltTckTiming">NO</Option>
<Option id="EmuPowerMode">Threshold_1Volt_IO</Option>
<Option id="EmuIoOffAtExit">YES</Option>
<Option id="EmuIoOffAtDisconnect">YES</Option>
<Option id="Emu0PinLevel">HIZ</Option>
<Option id="Emu1PinLevel">HIZ</Option>
<Option id="EmuAssertSysReset">NO</Option>
<Option id="EmuPulseTrst">NO</Option>
<Option id="EmuSerialNumber">ANY</Option>
</Emulator>
<Emulator id="XDS510USB_513">513
                <Option id="EmuPortAddr">0X513</Option>
<Option id="EmuPortMode">USB</Option>
<Option id="EmuPortSpeed">0</Option>
<Option id="EmuAddOptoPod">NO</Option>
<Option id="EmuDisablePolling">YES</Option>
<Option id="EmuProductName">XDS510USB</Option>
<Option id="EmuDoWaitInReset">NO</Option>
<Option id="EmuJclkMode">Counter</Option>
<Option id="EmuJclkFreqMHz">13</Option>
<Option id="EmuTckDiv">1</Option>
<Option id="EmuAltTckTiming">NO</Option>
<Option id="EmuPowerMode">Threshold_1Volt_IO</Option>
<Option id="EmuIoOffAtExit">YES</Option>
<Option id="EmuIoOffAtDisconnect">YES</Option>
<Option id="Emu0PinLevel">HIZ</Option>
<Option id="Emu1PinLevel">HIZ</Option>
<Option id="EmuAssertSysReset">NO</Option>
<Option id="EmuPulseTrst">NO</Option>
<Option id="EmuSerialNumber">ANY</Option>
</Emulator>
</SDConfiguration>

 

eclipse(ccs) 에서 설정으로 쓰는 파일은 ccxml인데

connection에 instance와 platform 관련 내용으로 보면 2개 파일이 존재하낟.

C:\Users\free\workspace_v8\test\targetConfigs\TMS320F2808.ccxml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="configuration_0">
        <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator" href="connections/SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator" xml="SD510USB_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator">
            <instance XML_version="1.2" href="drivers/sdgo28xusb.xml" id="drivers" xml="sdgo28xusb.xml" xmlpath="drivers"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="TMS320F2808" href="devices/f2808.xml" id="TMS320F2808" xml="f2808.xml" xmlpath="devices"/>
            </platform>
        </connection>
    </configuration>
</configurations>

 

sdgo28xusb.xml는 드라이버(바이너리) 연결해주고 끝

C:\ti\ccsv8\ccs_base\common\targetdb\drivers\sdgo28xusb.xml

<?xml version="1.0"?>
<drivers id="TMS320C28XX">
<isa Type="TMS320C28XX" ProcID="0x5000A3F8">
<driver file="../../../emulation/drivers/sdgo28xusb.dvr">
<connectionType Type="SD510USB"/>
                        <property Type="hiddenfield" Value="true" id="realtimeEnabled" />
</driver>
</isa>
</drivers>

 

C:\ti\ccsv8\ccs_base\emulation\drivers\sdgo28xusb.dvr

 

f2808.xml은 장치별 메모리만 기재해둔 파일이다.

C:\ti\ccsv8\ccs_base\common\targetdb\devices\f2808.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
  TI File $Revision: /main/10 $
  Checkin $Date: September 22, 2011   17:30:14 $
  -->


<device id="C28xx" partnum="TMS320F2808" HW_revision="1" XML_version="1" desc="TMS320F2808" description="">
  <instance href="../cpus/c28xx.xml" desc="C28xx" description="" id="C2800" isa="TMS320C28XX" xml="c28xx.xml" xmlpath="../cpus/" />
  <property Type="stringfield" Value="280x Fixed Point"   id="FilterString" />
 
  <cpu HW_revision="1.0" XML_version="1.2" description="CPU" deviceSim="false" id="C2800" isa="TMS320C28XX">
    <property Type="filepathfield" Value="../../emulation/gel/f2808.gel" id="GEL File"/>
    <!-- Project Wizard Settings -->
        <property Type="stringfield" Value="--large_memory_model --unified_memory --silicon_version=28" id="CompilerBuildOptions" /> 
        <property Type="stringfield" Value="--stack_size=0x300" id="LinkerBuildOptions" />
        <property Type="stringfield" Value="2808_RAM_lnk.cmd" id="LinkerCmd" /> 
         
    <!-- END Project Wizard Settings -->
      <instance href="../Modules/C2000/C2000_ADC_Type1_Registers.xml"                   id="ADC"          xml="C2000_ADC_Type1_Registers.xml"                           xmlpath="../Modules/C2000/" HW_version="" description="ADC Registers"                 requestor="" baseaddr="0x007100" endaddr="0x00711F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ADC_Type1_Mirror_Registers.xml"            id="ADCMIRROR"    xml="C2000_ADC_Type1_Mirror_Registers.xml"                    xmlpath="../Modules/C2000/" HW_version="" description="ADC Mirror Registers"          requestor="" baseaddr="0x000B00" endaddr="0x000B0F" size="0x0010" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/280x_System_Control_Registers.xml"               id="SYSCTRL"      xml="280x_System_Control_Registers.xml"                       xmlpath="../Modules/C2000/" HW_version="" description="System Control Registers"      requestor="" baseaddr="0x007010" endaddr="0x00702F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_Code_Security_Module_Registers.xml"        id="CSM"         xml="C2000_Code_Security_Module_Registers.xml"                 xmlpath="../Modules/C2000/" HW_version="" description="Code Security Module"          requestor="" baseaddr="0x000AE0" endaddr="0x000AEF" size="0x0010" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_PWL_Registers.xml"                         id="PWL"          xml="C2000_PWL_Registers.xml"                                 xmlpath="../Modules/C2000/" HW_version="" description="PWL Locations"                 requestor="" baseaddr="0x3F7FF8" endaddr="0x3F7FFF" size="0x0008" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_CPU_Timer_Registers.xml"                   id="CPUTIMER"     xml="C2000_CPU_Timer_Registers.xml"                           xmlpath="../Modules/C2000/" HW_version="" description="CPU Timer Registers"           requestor="" baseaddr="0x000C00" endaddr="0x000C3F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/280x_Device_Emulation_Registers.xml"             id="DEVEMU"       xml="280x_Device_Emulation_Registers.xml"                     xmlpath="../Modules/C2000/" HW_version="" description="Device Emulation Registers"    requestor="" baseaddr="0x000880" endaddr="0x9FF" size="0x180" accessnumbytes="4" permissions="p" />   
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Registers.xml"                id="eCANA"        xml="C2000_eCAN_Type0_Registers.xml"                        xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A  Registers"             requestor="" baseaddr="0x006000" endaddr="0x006032" size="0x0033" accessnumbytes="4" permissions="p" /> 
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Local_Acceptance_Masks.xml"   id="eCANA_LAM"    xml="C2000_eCAN_Type0_Local_Acceptance_Masks.xml"           xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Local Acceptance Masks" requestor="" baseaddr="0x006040" endaddr="0x00607F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_Time_Stamps.xml"   id="eCANA_MOTS"     xml="C2000_eCAN_Type0_Message_Object_Time_Stamps.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Message Object Time Stamps"   requestor="" baseaddr="0x006080" endaddr="0x0060BF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_TimeOut.xml"   id="eCANA_MOTO"   xml="C2000_eCAN_Type0_Message_Object_TimeOut.xml"           xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Message Object Time-Outs"     requestor="" baseaddr="0x0060C0" endaddr="0x0060FF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Mailbox_Registers.xml"        id="eCANA_MBX_CONTENT"  xml="C2000_eCAN_Type0_Mailbox_Registers.xml"          xmlpath="../Modules/C2000/" HW_version="" description="eCAN-A Mailbox Content"              requestor="" baseaddr="0x006100" endaddr="0x0061FF" size="0x0200" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Registers.xml"                id="eCANB"        xml="C2000_eCAN_Type0_Registers.xml"                        xmlpath="../Modules/C2000/" HW_version="" description="eCAN-B Control and Status Registers" requestor="" baseaddr="0x006200" endaddr="0x006232" size="0x0033" accessnumbytes="4" permissions="p" /> 
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Local_Acceptance_Masks.xml"   id="eCANB_LAM"          xml="C2000_eCAN_Type0_Local_Acceptance_Masks.xml"     xmlpath="../Modules/C2000/" HW_version="" description="eCAN-B Local Acceptance Masks"       requestor="" baseaddr="0x006240" endaddr="0x00627F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_Time_Stamps.xml"   id="eCANB_MOTS"     xml="C2000_eCAN_Type0_Message_Object_Time_Stamps.xml" xmlpath="../Modules/C2000/" HW_version="" description="eCAN-B Message Object Time Stamps"   requestor="" baseaddr="0x006280" endaddr="0x0062BF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Message_Object_TimeOut.xml"   id="eCANB_MOTO"         xml="C2000_eCAN_Type0_Message_Object_TimeOut.xml"     xmlpath="../Modules/C2000/" HW_version="" description="eCAN-B Message Object Time-Outs"     requestor="" baseaddr="0x0062C0" endaddr="0x0062FF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAN_Type0_Mailbox_Registers.xml"        id="eCANB_MBX_CONTENT"  xml="C2000_eCAN_Type0_Mailbox_Registers.xml"          xmlpath="../Modules/C2000/" HW_version="" description="eCAN-B Mailbox Content"              requestor="" baseaddr="0x006300" endaddr="0x0063FF" size="0x0200" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAP_Type0_Registers.xml"                 id="eCAP1"    xml="C2000_eCAP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eCAP1 Registers"         requestor="" baseaddr="0x006A00" endaddr="0x006A1F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAP_Type0_Registers.xml"                 id="eCAP2"    xml="C2000_eCAP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eCAP2 Registers"         requestor="" baseaddr="0x006A20" endaddr="0x006A3F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAP_Type0_Registers.xml"                 id="eCAP3"    xml="C2000_eCAP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eCAP3 Registers"         requestor="" baseaddr="0x006A40" endaddr="0x006A5F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eCAP_Type0_Registers.xml"                 id="eCAP4"    xml="C2000_eCAP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eCAP4 Registers"         requestor="" baseaddr="0x006A60" endaddr="0x006A7F" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM1"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM1 Registers"         requestor="" baseaddr="0x006800" endaddr="0x00683F" size="0x0040" accessnumbytes="4" permissions="p" />     
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM2"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM2 Registers"         requestor="" baseaddr="0x006840" endaddr="0x00687F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM3"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM3 Registers"         requestor="" baseaddr="0x006880" endaddr="0x0068BF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM4"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM4 Registers"         requestor="" baseaddr="0x0068C0" endaddr="0x0068FF" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM5"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM5 Registers"         requestor="" baseaddr="0x006900" endaddr="0x00693F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_ePWM_Type0_Registers.xml"                 id="ePWM6"    xml="C2000_ePWM_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="ePWM6 Registers"         requestor="" baseaddr="0x006940" endaddr="0x00697F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eQEP_Type0_Registers.xml"                 id="eQEP1"    xml="C2000_eQEP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eQEP1 Registers"         requestor="" baseaddr="0x006B00" endaddr="0x006B3F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_eQEP_Type0_Registers.xml"                 id="eQEP2"    xml="C2000_eQEP_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="eQEP2 Registers"         requestor="" baseaddr="0x006B40" endaddr="0x006B7F" size="0x0040" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_Flash_Type0_Registers.xml"                 id="FLASH"    xml="C2000_Flash_Type0_Registers.xml"       xmlpath="../Modules/C2000/" HW_version="" description="Flash/OTP Registers"       requestor="" baseaddr="0x000A80" endaddr="0x000A87" size= "0x008" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/280x_External_Interrupt_Registers.xml"           id="XINT"     xml="280x_External_Interrupt_Registers.xml"      xmlpath="../Modules/C2000/" HW_version="" description="External Interrupt Registers"        requestor="" baseaddr="0x007070" endaddr="0x00707F" size="0x0010" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/280x_GPIO_Registers.xml"                         id="GPIO"     xml="280x_GPIO_Registers.xml"            xmlpath="../Modules/C2000/" HW_version="" description="GPIO Registers"                              requestor="" baseaddr="0x006F80" endaddr="0x006FFF" size="0x0080" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_I2C_Type0_Registers.xml"                 id="I2CA"     xml="C2000_I2C_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="I2CA Registers"                         requestor="" baseaddr="0x007900" endaddr="0x00792F" size="0x0030" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_PIE_Registers.xml"                         id="PIE"      xml="C2000_PIE_Registers.xml"           xmlpath="../Modules/C2000/" HW_version="" description="Peripheral Interrupt Expansion Registers"     requestor="" baseaddr="0x000CE0" endaddr="0x000CFF" size="0x0020" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_SCI_Type0_Registers.xml"                 id="SCIA"     xml="C2000_SCI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Communication Interface A Registers"  requestor="" baseaddr="0x007050" endaddr="0x00705F" size="0x0010" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_SCI_Type0_Registers.xml"                 id="SCIB"     xml="C2000_SCI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Communication Interface B Registers"  requestor="" baseaddr="0x007750" endaddr="0x00775F" size="0x0010" accessnumbytes="4" permissions="p" />
      <instance href="../Modules/C2000/C2000_SPI_Type0_Registers.xml"                 id="SPIA"     xml="C2000_SPI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface A Registers"     requestor="" baseaddr="0x007040" endaddr="0x00704F" size="0x0010" accessnumbytes="4" permissions="p" />     
      <instance href="../Modules/C2000/C2000_SPI_Type0_Registers.xml"                 id="SPIB"     xml="C2000_SPI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface B Registers"     requestor="" baseaddr="0x007740" endaddr="0x00774F" size="0x0010" accessnumbytes="4" permissions="p" />     
      <instance href="../Modules/C2000/C2000_SPI_Type0_Registers.xml"                 id="SPIC"     xml="C2000_SPI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface C Registers"     requestor="" baseaddr="0x007760" endaddr="0x00776F" size="0x0010" accessnumbytes="4" permissions="p" />     
      <instance href="../Modules/C2000/C2000_SPI_Type0_Registers.xml"                 id="SPID"     xml="C2000_SPI_Type0_Registers.xml"         xmlpath="../Modules/C2000/" HW_version="" description="Serial Peripheral Interface D Registers"     requestor="" baseaddr="0x007780" endaddr="0x00778F" size="0x0010" accessnumbytes="4" permissions="p" />     
  </cpu>
</device>

 

tms320 카페에서 ccs 디버거 설정에서 먼가하던데 그걸 빼먹어서 그런가?

'embeded > DSP C2000 Ti' 카테고리의 다른 글

잘가 tms320 ㅠㅠ  (0) 2023.07.28
CCS v8.3.1 on ubuntu 22.04  (0) 2023.07.14
spectrum digital XDS510 USB  (0) 2023.07.14
TMS320 소비전력  (0) 2023.07.13
tms320 어렵네...  (4) 2020.04.02
Posted by 구차니
embeded/DSP C2000 Ti2023. 7. 14. 10:04

음.. 걍 포기할까?

파이썬 2.7이라니..

 

아래 명령을 입력하면 22.04 에서 문제없이 설치된다.

$ sudo apt-get install libpython2.7 libgconf-2-4 libncurses5 libusb-0.1-4

 

윈도우에서는 못보던 화면이네



XDS510 USB가 안 잡혀서 다시 설치하고, 드라이버 설치하고, 업데이트 시도

 

 

리눅스 버전에서는 7.x 설치해도 안되서 일단 잠정 보류..

차라리 XDS510을 포기하는게 정답이려나?

'embeded > DSP C2000 Ti' 카테고리의 다른 글

잘가 tms320 ㅠㅠ  (0) 2023.07.28
CCSv8.3.1 on win10  (0) 2023.07.14
spectrum digital XDS510 USB  (0) 2023.07.14
TMS320 소비전력  (0) 2023.07.13
tms320 어렵네...  (4) 2020.04.02
Posted by 구차니
embeded/DSP C2000 Ti2023. 7. 14. 10:01

장비 인식은 잘 되는것 같은데

케이블 문제는 아니고 USB-ACTIVE는 어떤 조건에서 불이 들어 오는걸려나?

$ sudo dmesg
[  147.175141] usb 1-2: new full-speed USB device number 13 using xhci_hcd
[  147.338105] usb 1-2: New USB device found, idVendor=0c55, idProduct=0510, bcdDevice= 0.02
[  147.338123] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  147.338131] usb 1-2: Product: XDS510 USB
[  147.338136] usb 1-2: Manufacturer: Spectrum Digital, Inc.
[  147.338141] usb 1-2: SerialNumber: S000000000000000


$ lsusb -t -v
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=, Driver=, 12M
        ID 2109:0103 VIA Labs, Inc. 
    |__ Port 2: Dev 13, If 0, Class=Vendor Specific Class, Driver=, 12M
        ID 0c55:0510 Spectrum Digital, Inc. Spectrum Digital XDS510 JTAG Debugger

 

JTAG쪽인줄 알았는데 USB Bus가 작동하면 불이 들어온다니, 항상 불이 들어오는게 아닐 듯.

[링크 : https://dokumen.tips/documents/xds510-usb-jtag-emulator-spectrum-usb-jtag-emulator-installation-guide-506175-0001.html?page=1]

 

+

리눅스에서는 v7 v8 모두 Spectrum Digital XDS510 시리즈 자체가 안보인다.

그래서 윈도우에서 하니 먼가 뜨긴 한데.. 빌드가 안되네

 

+

readme.txt만 있고 xml이 없어서 읽어보니 CCS 설치시에 자동으로 설치되는 듯.

Applies to Windows installations CCSv4 and higher:
---------------------------------------------------
xds510usb and xd510usb_win64 files have been removed and replaced with signed
windows drivers and placed in:
Program Files\SpectrumDigital\Emulation\Drivers for 32-bit Windows and
Program Files (x86)\SpectrumDigital\Emulation\Drivers for 64-bit Windows

During the CCS installation process windows system level drivers are quietly 
pre-installed.  On Vista, the system level drivers install may not succeed as 
security checks may block the install.  When you plug in a USB HW device if 
Vista does not automatically find the USB drivers then the install did not 
succeed and you have two options:

1) When the install Wizard cannot find the drivers simply have the Wizard 
search the directories listed above with the search subdirectory check box 
checked.

2) Manually pre-install the drivers before plugging in the USB HW.  
To do this use Explorer and go to the appropriate driver directory listed 
above and the appropriate subdirectory, i386 for 32-bit Windows or amd64 for 
64-bit Windows and run DPInst.exe.  If you are not sure if drivers were
pre-installed during the CCS install you can safely run DPInst.exe again. 

 

'embeded > DSP C2000 Ti' 카테고리의 다른 글

CCSv8.3.1 on win10  (0) 2023.07.14
CCS v8.3.1 on ubuntu 22.04  (0) 2023.07.14
TMS320 소비전력  (0) 2023.07.13
tms320 어렵네...  (4) 2020.04.02
TMS320 보드 버전  (0) 2020.02.18
Posted by 구차니
embeded/DSP C2000 Ti2023. 7. 13. 23:11

2012년 글이지만 지금에야 보게 되네.. 아무튼 전원 공급 문제일 가능성이 있다는데

 1. Target 보드에 전원을 인가한다.
 2. Bootloader 가 있다면 Boot모드로 진입하여 Kernel을 실행하지 않는다.
 3. 전원인가 후 10초정도 지난다음 Target 보드에 JTAG을 연결한다.
 4. JTAG의 USB 케이블을 PC에 연결한다.

 * 위의 에러메세지는 일반적으로 파워 문제로 인해서 발생한다. 그래서 먼저 보드에 전원을 인가 후 JTAG을
   연결하면 정상동작 한다.

[링크 : https://dark2pee.tistory.com/entry/DM368-CCS-Error-Message-Fatal-Error-during-OCS-Control]

 

이전에 5V 를 라즈베리 통해서 공급했던 것 같은데, 그래서 소비전력이 부족했나?

TMS320F2808 인데 최대 230mA 정도인데 라즈베리를 통해도 충분할 것 같은데. 왜지?

[링크 : https://www.ti.com/lit/ds/symlink/tms320f2808.pdf]

 

혹은.. 드라이버 문제인가?

 

USB ACTIVE에 불이 오락가락 하는거 보면 USB-B 쪽 커넥터 문제일지도 모르겠다.

 

+

[링크 : https://ahyuo79.blogspot.com/2015/07/ccs-v6.html]

[링크 : https://software-dl.ti.com/ccs/esd/documents/ccsv7_debugging_jtag_connectivity_issues.html]

[링크 : https://www.youtube.com/watch?v=mKxaztkCsYw]

'embeded > DSP C2000 Ti' 카테고리의 다른 글

CCS v8.3.1 on ubuntu 22.04  (0) 2023.07.14
spectrum digital XDS510 USB  (0) 2023.07.14
tms320 어렵네...  (4) 2020.04.02
TMS320 보드 버전  (0) 2020.02.18
TMS320 DSP 준비..  (0) 2020.02.16
Posted by 구차니

스펙트로그램 설정에 들어가면 fft 설정을 바꿀수 있다.

 

아쉽게도.. FFT Window Type / Size는 있는데 overlap 관련된 내용은 없네..

 

윈도우 크기가 커질수록

RBW(Resolution Band Width)가 낮아지면서 그래프가 더 세밀해지는 대신

시간축에 대해서는 현 시점으로 부터 더 뒤의 값을 보기 때문에

더 일찍 부터 다른 주파수의 값들이(아래 그림에서 하얗고 빨간 부분)이 먼저 나오게 된다.

즉, 윈도우 크기와 반응성은 반비례 라고 보면 되려나?

 

128

256

 

512

 

1024

[링크 : https://manual.audacityteam.org/man/spectrogram_view.html]

 

그래.. 12년 지났으면 까먹어도 인정해줘야지. 음!

2011.05.23 - [프로그램 사용/audacity] - audacity - spectrum analyze + Frequency Width

Posted by 구차니
개소리 왈왈/컴퓨터2023. 7. 12. 21:58

결과 : 나사 하나 잃어 버림

 

분해하는데 절로 잘만들었다~ 소리가 나온다.

 

cpu 써멀이라도 다시 발라주려니 메인보드 들어내고 반대편까지 뜯어야해서 패스

나중에 AS 센터 가서 나사 하나 얻고 써멀도 바를수 있으려나?

 

m.2 sata

회사에 굴러다니는 m.2 nvme 연결해보니 부팅까지 문제없음

 

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

USB3.0 기가비트 랜 맞아?  (0) 2023.08.02
보조배터리  (0) 2023.07.26
intel 내장형 그래픽과 4k60p(DP)  (0) 2023.06.22
intel 내장 세대별 해상도  (0) 2023.06.21
1050 구매  (0) 2023.06.20
Posted by 구차니