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 구차니
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 구차니
embeded/Cortex-M7 STM2021. 7. 2. 19:37

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

stm32h757xi / stm32h757i-eval  (0) 2024.07.19
FT5336 - 정전식 터치 i2c  (0) 2021.07.06
stm32cubeide generate bin  (0) 2021.07.02
stm32cubeide gdb external flash  (0) 2021.07.02
TouchGFX on STM32F746G-DISCO  (4) 2021.07.02
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 2. 19:34

cubeide로 빌드하는데 hex와 elf는 나오는데 bin은 안나와서 검색!

겁나~ 구성탱이에 있네 -_-

Convert to binary file (-O binary)를 체크해주면 된다. 기본값은 꺼져 있는 듯?

 

[링크 : https://blog.naver.com/chandong83/221751192307]

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

FT5336 - 정전식 터치 i2c  (0) 2021.07.06
stm32f4 otg update bin file  (0) 2021.07.02
stm32cubeide gdb external flash  (0) 2021.07.02
TouchGFX on STM32F746G-DISCO  (4) 2021.07.02
st-link stm32 option bytes  (0) 2021.07.02
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 2. 16:47

 

1.1 GDB server start-up options
--ext-memory-loaders
Provides the list of the available external memory loaders.

-el <file_path>, --extload <file_path>
Selects a custom external memory-loader.

--external-init
Runs Init() from external memory loader after reset to make external memory accessible without need for
application software to set up the access to memory-mapped external memory.
[This option requires that option -el <file_path>, --extload <file_path> is used also.]


2.3.1 Loading program to external memory
When a program must be loaded to an external memory, the option --extload <file_path> must be used.
External memory loader files are delivered for most available STM32 Evaluation and Discovery boards containing
external memory. To list the available loader files, use the --ext-memory-loaders option.
The STM32CubeProgrammer software description user manual (UM2237) contains detailed information on how
to use external Flash loader programs and develop customized loaders for external memory. The user manual is
available from the STM32CubeProg webpage on www.st.com.

2.3.2 Memory read/write to external memory
To make external memory accessible for read and write by the debugger, use the --external-init option
together with external memory loader --extload <file_path> option. When --external-init is used the
Init() function in the external memory loader is run by the ST-LINK GDB server after reset. This makes
external memory accessible without any need for application software to set up the device for external memory
access. The external memory must be memory mapped and directly accessed because normal memory read/
write is used by gdb.
Note: When using the --external-init option with the ST-LINK GDB server, the stack required by the Init()
function is limited to 1024 bytes of stack instead of 400 bytes in ST-LINK GDB server v5.4.0.

[링크 : https://www.st.com/resource/en/user_manual/dm00613038-stm32cubeide-stlink-gdb-server-stmicroelectronics.pdf]

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

stm32f4 otg update bin file  (0) 2021.07.02
stm32cubeide generate bin  (0) 2021.07.02
TouchGFX on STM32F746G-DISCO  (4) 2021.07.02
st-link stm32 option bytes  (0) 2021.07.02
st-link util external module?  (0) 2021.07.02
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 2. 16:31

STM32F746NGHx_FLASH.ld

/* Specify the memory areas */
MEMORY
{
FLASH (rx)      : ORIGIN = 0x08000000, LENGTH = 1024K
RAM (xrw)      : ORIGIN = 0x20000000, LENGTH = 320K
ITCMRAM (xrw)      : ORIGIN = 0x00000000, LENGTH = 16K
QSPI (rx)         : ORIGIN = 0x90000000, LENGTH = 16M
}

  .ARM.attributes 0 : { *(.ARM.attributes) }
  ExtFlashSection : { *(ExtFlashSection) } >QSPI
}

 

#include <touchgfx/hal/Config.hpp>

LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _control_center_button_pressed[] LOCATION_EXTFLASH_ATTRIBUTE = { // 191x191 RGB565 pixels.
// ...
};

 

#elif defined(__ARMCC_VERSION)
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE __attribute__ ((section ("ExtFlashSection"))) __attribute__ ((aligned(4)))

#elif defined __ICCARM__
#define LOCATION_EXTFLASH_PRAGMA _Pragma("location=\"ExtFlashSection\"")

 

내장 플래시

 

외부 QSPI 플래시

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

stm32cubeide generate bin  (0) 2021.07.02
stm32cubeide gdb external flash  (0) 2021.07.02
st-link stm32 option bytes  (0) 2021.07.02
st-link util external module?  (0) 2021.07.02
cortex-M7 우와.. -_-  (0) 2021.07.02
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 2. 15:23

 

 

 

RDP가 이곳에!?

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

stm32cubeide gdb external flash  (0) 2021.07.02
TouchGFX on STM32F746G-DISCO  (4) 2021.07.02
st-link util external module?  (0) 2021.07.02
cortex-M7 우와.. -_-  (0) 2021.07.02
new 장난감! STM32F746G-DISCO  (0) 2021.07.02
Posted by 구차니
embeded/Cortex-M7 STM2021. 7. 2. 15:22

 

 

 

 

 

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

stm32cubeide gdb external flash  (0) 2021.07.02
TouchGFX on STM32F746G-DISCO  (4) 2021.07.02
st-link stm32 option bytes  (0) 2021.07.02
cortex-M7 우와.. -_-  (0) 2021.07.02
new 장난감! STM32F746G-DISCO  (0) 2021.07.02
Posted by 구차니
embeded/Cortex-M3 STM2021. 7. 2. 11:07

AVR의 fuse bit 같은 녀석

 

Level 0: no read protection
Level 1: read protection enabled
Level 2: debug/chip read protection disabled

[링크 : https://www.st.com/resource/en/reference_manual/DM00031020-.pdf]

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

stm32 wdg 최대 설정시간  (0) 2021.08.09
stm32 RST pull-up reset fail  (0) 2021.08.02
stm32 uart echo  (0) 2021.02.04
STM32CubeIDE / HAL register callbacks  (0) 2021.02.03
STM32CubeIDE 주의사항(?)  (0) 2021.02.02
Posted by 구차니