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

  1. 2021.07.07 rpi pico c
  2. 2021.07.07 esp32 freertos
  3. 2021.07.07 winform 첨자(superscript/subscript)
  4. 2021.07.07 최고의 대응책
  5. 2021.07.06 esp32cam setting
  6. 2021.07.06 FT5336 - 정전식 터치 i2c
  7. 2021.07.06 SDL - Simple DirectMedia Layer
  8. 2021.07.06 nuget RibbonWinForms
  9. 2021.07.06 IOFS - Intel Open FPGA Stack
  10. 2021.07.05 휴가중!
embeded/raspberry pi2021. 7. 7. 19:07

23페이지에 나오는 내용(2021.07.07 기준)

예전에 stellarisware(ti/cortex-m3) 쓸 때 이런 컨셉이 있었던 것 같은데, 플래시 용량 줄이는 것 외에는 큰 메리트가 있는지

몰랐는데 아키텍쳐의 차이인진 모르겠지만 벤치마크를 보니 꽤나 혹한다.

2.7.2. Floating-point Support
The SDK provides a highly optimized single and double precision floating point implementation. In addition to being fast, many of the functions are actually implemented using support provided in the RP2040 bootrom. This means the interface from your code to the ROM floating point library has very minimal impact on your program size, certainly using dramatically less flash storage than including the standard floating point routines shipped with your compiler. The physical ROM storage on RP2040 has single-cycle access (with a dedicated arbiter on the RP2040 busfabric), and accessing code stored here does not put pressure on the flash cache or take up space in memory, so not only are the routines fast, the rest of your code will run faster due them being resident in ROM. This implementation is used by default as it is the best choice in the majority of cases, however it is also possible to switch to using the regular compiler soft floating point support.

 

bootrom에 있는 함수들을 이용하면 더욱 빠르게 부동소수점 연산이 가능하다는데

나누기 연산의 경우 GCC 라이브러리에 비해서 586% 감소한다고

아래 두개는 먼가 미친듯한 성능 차이가 있어서 끌어 와봄.

Function        ROM/SDK (μs) GCC 9 (μs) Performance Ratio
__aeabi_fdiv 74.7                  437.5          586%
__aeabi_f2lz 63.1                 1240.5        1966%
__aeabi_f2ulz 46.1               1157            2510%

 

27페이지에 나오는 내용인데(2021.07.07 기준)

GCC 라이브러리를 사용하여 계산하는 것과

SDK 라이브러리(RP2040 hardware divider)를 이용하는 것의 속도 차이가 어마어마하다고 한다.

일단 하드웨어 divider를 사용하니 당연한걸지도 모르지만 고정속도라..

[링크 : https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-c-sdk.pdf]

[링크 : https://github.com/raspberrypi/pico-sdk]

[링크 : https://webnautes.tistory.com/1475]

 

+

2021.07.08

라즈베리 파이 pico의 bootrom 소스 리파지터리.

아무튼.. 위의 내용은 어셈블러로 함수를 작성해 놓은 듯.

[링크 : https://github.com/raspberrypi/pico-bootrom/blob/master/bootrom/mufplib-double.S]

[링크 : https://github.com/raspberrypi/pico-bootrom/blob/master/bootrom/mufplib.S]

'embeded > raspberry pi' 카테고리의 다른 글

조향장치 완성  (0) 2021.07.24
rpi 2b pxe  (0) 2021.07.12
rpi pico USB 키보드 코드 수정  (0) 2021.07.01
aarch, armv8 asimd build (neon)  (0) 2021.06.30
rpi 4b 32bit vs 64bit?  (0) 2021.06.30
Posted by 구차니
embeded/esp322021. 7. 7. 16:10

esp32-cam의 CameraWebServer가 freeRTOS 기반인줄 알았는데

코드를 분석해봐도 안나와서 검색해보니

별도의 esp32-idf(Espressif IoT Development Framework) 라고 개발되고 관리되는 듯.

[링크 : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/]

 

freeRTOS 공부할겸 한번 해봐야겠네

[링크 : https://slowbootkernelhacks.blogspot.com/2020/12/esp32-freertos.html]

[링크 : https://blog.naver.com/serimo/221560776476]

 

+

[링크 : https://chocoball.tistory.com/entry/Hardware-ESP32-Dual-core]

'embeded > esp32' 카테고리의 다른 글

회사에 남는 부품으로 쓱쓱  (0) 2021.07.14
AMS1117 LDO 고장?  (0) 2021.07.13
esp32cam setting  (0) 2021.07.06
esp32cam webservercam rtsp?  (0) 2021.06.28
LDO 발열?  (0) 2021.06.25
Posted by 구차니
Programming/c# & winform2021. 7. 7. 10:32

charmap(문자표)에서 보면

왜 순서대로 0 1 2 3 4 5 6 7 8 9 가 있는게 아닌거냐!!

0~9 순서로 유니코드 정렬하면 다음과 같네

{0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079}

 

Arial에서는 subscript로 검색하니 숫자는 안나오지만 굴림으로는

2314n에 대한 subscript / superscript가 검색된다. 폰트별로 다르다니.

 

 

 

[링크 : https://www.python2.net/questions-257019.htm] 특수문자 사용

[링크 : https://stackoverflow.com/questions/19682459/superscript-label-or-form-name

 

[링크 : http://csharphelper.com/blog/2016/06/display-subscripts-superscripts-richtextbox-c/]

[링크 : https://icodebroker.tistory.com/5740] richedit offset 조정

'Programming > c# & winform' 카테고리의 다른 글

winform 자동으로 UI 늘리기  (0) 2021.07.08
winform MDI  (0) 2021.07.08
nuget RibbonWinForms  (0) 2021.07.06
ansi escape code  (0) 2021.05.24
c# richtextbox 글씨 색상 입히기  (0) 2021.05.24
Posted by 구차니

임기내로 민주당이 여성부 없애면 떡상 가능한거 아닌가?!

 

[링크 : https://news.v.daum.net/v/20210707080003654]

Posted by 구차니
embeded/esp322021. 7. 6. 21:00

매번 켤때 마다 카메라 뒤집어 지고, 해상도 설정하기 귀찮아서 찾아봄

 

귀찮아서 아래 부분만 수정함.

카메라를 뒤집에서 설치해야 글루건으로 붙이기 용이해서 필수로 뒤집어야 하고

해상도가 QVGA로 되서 너무 화질구지라 XGA(1024x768) 정도로 하면 프레임도 나쁘지 않아 일단 이렇게 설정

  // drop down frame size for higher initial frame rate
  //s->set_framesize(s, FRAMESIZE_QVGA);
  s->set_framesize(s, FRAMESIZE_XGA);

#if defined(CAMERA_MODEL_M5STACK_WIDE) || defined(CAMERA_MODEL_M5STACK_ESP32CAM) || defined(CAMERA_MODEL_AI_THINKER)
  s->set_vflip(s, 1);
  s->set_hmirror(s, 1);
#endif

 

[링크 : https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/]

'embeded > esp32' 카테고리의 다른 글

AMS1117 LDO 고장?  (0) 2021.07.13
esp32 freertos  (0) 2021.07.07
esp32cam webservercam rtsp?  (0) 2021.06.28
LDO 발열?  (0) 2021.06.25
esp32-cam camerawebserver  (0) 2021.06.24
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 6. 17:45

STM32F746G-DISCO 보드의 I2C 터치 센서가 문득 궁금해져서

(freertos나 touchGFX 쓰지 않고 raw data가 궁금해서) 데이터 시트 찾는 중

 

해당 discovery 보드 데이터로는 못 찾고 한다리 건너 발견

[링크 : https://www.newhavendisplay.com/appnotes/datasheets/touchpanel/FT5336.pdf]

    [링크 : https://blog.naver.com/75rudals/221034561748]

 

INT는 안쓰고 I2C로만 받을 데이터가 있는지 확인하는 구조인 듯?

[링크 : https://noel-embedded.tistory.com/619]

 

+

FT로 시작해서 FTDI 사의 제품인줄 알았는데, focaltech라는 업체의 제품

'embeded > Cortex-M7 STM' 카테고리의 다른 글

STM32CubeProgrammer  (0) 2024.07.22
stm32h757xi / stm32h757i-eval  (0) 2024.07.19
stm32f4 otg update bin file  (0) 2021.07.02
stm32cubeide generate bin  (0) 2021.07.02
stm32cubeide gdb external flash  (0) 2021.07.02
Posted by 구차니
프로그램 사용/sdl2021. 7. 6. 12:08

게임에서도 쓰이긴 한데 일반 MFC를 대체하는 용도로 쓰려면 어딜 봐야하나... ㅠㅠ

 

[링크 : https://www.libsdl.org/]

[링크 : https://wiki.libsdl.org/]

 

SDL 2.0은 zlib 라이선스

SDL 1.2 이전은 GNU LGPL 라이선스를 따름.

[링크 : https://www.libsdl.org/license.php]

'프로그램 사용 > sdl' 카테고리의 다른 글

sdl tutorial  (0) 2022.05.27
libsdl + mfc  (0) 2017.02.09
SDL - Simple DirectMedia Layer  (0) 2011.12.12
Posted by 구차니
Programming/c# & winform2021. 7. 6. 12:04

nuget으로 받아서 사용가능한데 라이선스가 MS-PL(Public license) 이건 좀 검토 필요.

[링크 : https://raw.githubusercontent.com/RibbonWinForms/RibbonWinForms/master/LICENSE]

 

옵션으로 2007 / 2010 / 2010 ext / 2013 을 제공한다.

다시보니.. 2007 보단 그래도 요즘꺼가 선녀같네 -_-

 

[링크 : https://github.com/RibbonWinForms/RibbonWinForms]

   [링크 : https://www.codeproject.com/Articles/364272/Easily-Add-a-Ribbon-into-a-WinForms-Application]

'Programming > c# & winform' 카테고리의 다른 글

winform MDI  (0) 2021.07.08
winform 첨자(superscript/subscript)  (0) 2021.07.07
ansi escape code  (0) 2021.05.24
c# richtextbox 글씨 색상 입히기  (0) 2021.05.24
c# named argument  (0) 2021.01.06
Posted by 구차니
embeded/FPGA - ALTERA2021. 7. 6. 10:50

oneAPI 세미나 질문중 받은 키워드

아무튼.. custom IOFS를 통해 독립 cyclone 칩도 가능은 하나

pci-e로 호스트와 연결이 되어 있어야 한다고.. 흐음...

그냥 쓰지 못한다는 말로 들리는구만 ㅠㅠ

[링크 : https://www.hellot.net/mobile/article.html?no=55317]

'embeded > FPGA - ALTERA' 카테고리의 다른 글

altera nios 2 epcs to ram  (0) 2023.03.28
Nios V  (0) 2021.11.01
oneAPI Quartus pro 필요?  (0) 2021.04.06
cyclone V openCL?  (0) 2021.03.26
risc v on fpga  (0) 2021.03.09
Posted by 구차니

으어어어어어 피곤하드아아아앙

 

+

대략 4시간 자고

10시 전에 뻗은 듯

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

킥보드 득템  (0) 2021.07.13
별이 발라당  (0) 2021.07.10
휴양!  (0) 2021.07.04
을라들 규강검진  (0) 2021.07.03
강아지 유치 빠짐?  (0) 2021.06.26
Posted by 구차니