你好,
我想对一些模块进行测试进行测试。
I need to be sure about programming the PAN1740 with UART without flash memories and OTA.
1)插上VBAT 3V
2) plug the Vdd 6.8V
3) use SmartSnippet GUI to upload a hex file(like DSPS sample) through UART to burn the module
4)拔掉VDD
5)拔掉VBAT
我只需要这些针吗?:
vbat.
GND
vdd.
Tx
Rx
And I only need this stuff :
USB to UART
3V source
6.8V source
这就是全部 ?看起来太简单:p
Thanks,
Morgane Vallée
HelloMorgane Vallée,
The procedure looks fine. Please refer to AN-B-020 for more details
BR, Morris
你好,
I use P1.0 for Tx and P1.2 for Rx, but I can't choose them in SmartSnippets, is this a big problem ?
什么是控制高电压的GPIO引脚?
Thanks,
Morgane Vallée
Hello Morgane,
钉扎在数据表中描述:
http://pideu.panasonic.de/produkte/bluetooth-40-low-energy-single-mode/p ...
最好的祝福,
Ingo
你好,
我读了那个数据,它说,“*依赖于UART的软件配置也可以设置给任何其他IO.".
但我无法在SmartSnippets中选择我的别针,所以,我可以修改SmartSnippets文件还是这是一个大问题?
Thanks,
Morgane Vallée
Hi aeris,
You can not use other ports in order to boot from UART the da boots only from the predifiend ports (those you see in smart snippets). After you 've download firmware to your board you can use whatever uart port you want.
控制静止电压的默认GPIO引脚是P1_2。
Thanks MT_dialog
你是认真的吗 ?
我现在能做什么?把千欧欧元的原型扔到垃圾,因为它太用来了DATASHEET我们可以改变别针UARTONLY AFTERburning it ?
什么是目的控制高电压的GPIO引脚?(也不在数据表中)
启动序列是specified inhttp://support.dialog-semicondiondiondum/resource/b-001-da14580-booting ....
If you want to boot over UART, there are four configurations (P0_0, P0_1), (P0_2, P0_3), (P0_4, P0_5) and (P0_6, P0_7) as (TX, RX). You can also run code over JTAG.
启动固件后,该固件可以通过不同的引脚通过UART进行通信。
The GPIO pin that controls high voltage is used when programming the OTP. When programming the OTP, 6.8 V is needed which this pin switches on or off. This is called VPP. You don't need this controlling pin if you have an external on/off switch you are controlling yourself. All this is specified inhttp://support.dialog-semiconductor.com/resource/b-020-end-product-testi....
Yes, sorry,
我同意,我认为名称“从串行接口引导”看起来不是我的目的,而是一个应用程序案例......
I agree, I don't read this appnote, I only read the AN-B-020, because I use the PAN1740 and think some appnote not apply to them because it's different and some pins are not accessible and it is already calibrated...
On my board I only have access to P0.5 and P0.7, these are Rx pins, I don't see a solution, it's really hard to unsolder the PAN1740...
I control the voltage myself.
Thanks,
Morgane Vallée
你好,
I patched my board to use P0.6 and P0.7 UART.
I use a PAN1740 and a power supply with USB to UART dongle to program it.
I try to boot from UART with SmartSnippets :
- I start download of programmer_ES5.bin
>它说“按硬件重置...”
- I plug VCC
- I plug Vdd
- 我插上tx和rx
>它说“重置检测到”
它困住了很长一段时间了。
I try without Vpp, unfortunately.
I put an oscilloscope and see on Tx a strange signal look triangular..., but I only have 10cm wires...
An idea please ?
Thanks,
Morgane Vallée
Hi aeris,
I think that the triangular signal indicates that the da its trapped in the booting sequence (cant find something to boot from). Have you checked the appropriate pins from Smart Snippets?
Thanks MT_dialog
Yes, the pins config look good. I try with the CLI too.
我尝试使用p0.4和p0.5 UART,同样的问题。
我再次放了示波器,我的信号看起来很好,部分重复(仅在Pan1740 Rx上的重复(只有1位看起来)。
[INFO @15-07-16 13:36:15] Connection to COM4 port has successfully opened.
[INFO @15-07-16 13:36:15] Started download procedure...
[动作@ 15-07-16 13:36:16]请按电路板上的硬件重置按钮开始下载过程。
[INFO @ 15-07-16 13:36:23]重置检测到
And SmartSnippets stuck...
您认为SmartSnippets可以收到起始代码,但Pan1740无法收到答案?
Thanks.
Hi aeris,
I just tried with the PAN on a dialog's motherboard using P0.6 and P0.7 UART pins, it seems to be working fine, therefore you must have a hardware issue.
是你没有烧开的人吗?
Do you have any other module to try or a development kit ?
Thanks MT_dialog
No, it's another one.
This one have little wire soldered on it's pads.
I plug Vcc and then UART and sometime it become very hot, I going to try with another one...
Thanks.
你好,
我用另一个Pan1740测试了,我有同样的问题: - /
I try with a 3.3V and a 5V FTDI UART
I try to boot from UART with SmartSnippets with P0.4 and P0.5 :
- I start download of programmer_ES5.bin
我等它说“按硬件重置......”
- I plug VCC
- 我插上tx和rx
>它说“重置检测到”
它困住了很长一段时间了。
Thanks,
Morgane Vallée
Hi aeris,
你有一个Shcematic看看吗?
Thanks MT_dialog
你好,
I don't have a schematic, but :
PAN1740 P0.5 (5) : FTDI TX
PAN1740 P0.4 (4): FTDI RX
PAN1740 VCC (8) : 3.3V lab supply
PAN1740 GNDs (A, B, C, D, 15, 17, 19, 20, 1, 7) : GND
Pan1740 RST(2):GND
PAN1740 VPP (14) : floating or 6.8V lab supply
All soldered with small wire on PAN1740 pads.
Do I need a 3.3V or 5V FTDI UART ?
Thanks.
Hi aeris,
The P0, P1, P2, P3 ports are 3.3V tolerance.
So a 3.3V FTDI UART is recomended.
I believe that you have followed the connections inhttp://gr.mouser.com/pdfdocs/PAN1740DesignGuideRev101.PDFon page 7 so the schematic is the same.
Thanks MT_dialog
你好,
DA Datasheat表示,如果没有使用(我拔掉电源以重置),请将RST连接到GND。
我不使用串行电阻,我认为它们是为了GPIOS隔离。
On the schematic P0.0 P0.1 P0.2 P0.3 are used but the default UART in PAN1740 is P0.4 P0.5 and a DA app-note say witch one we use of the four don't care :-/
我不使用电容器进行降噪...
I manually connect the line, but I do it in less than 16s.
ANd I put TX RX and Vcc to GND when disconnect them.
我拍了一张我的黑客http://paste.ansible.fr/data/img/big/a42b306b-imag0097.jpg.
Thanks.
Hi aeris,
我想你正在使用的电缆10cm long是不是吗?此外,您还可以将原理图中显示的解耦电容放在VCC中,让我们知道。您在地面上重置的另一件事,您如何执行智能片段所需的重置?你是骑自行车吗?
Thanks MT_dialog
你好,
是的,我使用vcc重置da。
Thanks.
Hi aeris,
请尝试放置至少电容器,以避免电源循环的任何电源纹波。
Thanks MT_dialog
大家好
what is the ideal test program to start bluetooth tests with a PAN1740 module in my own PCB debug by UART?
嗨Mayrarg,
You can use any of the ble examples that are included in the SDK, the ble_app_barebone or the ble_app_profile examples are the most simple i would say (no buttons or leds etc, just ble activity).
Thanks MT_dialog