Search found 336 matches

by Vassilis
Tue Feb 20, 2018 2:33 pm
Forum: Off topic
Topic: Any idea what this protocol is ????
Replies: 2
Views: 54

Re: Any idea what this protocol is ????

Roger, are you referring to Radioddity GD-77 ? I suspect that the data is from the serial cable that connects the DG-77 with the PC. Did you connect a logic analyzer to see the exact baud rate and data ? I use the freeware PulseView with that analyzer I am sure you have one of those cheap analyzers....
by Vassilis
Mon Feb 19, 2018 9:32 am
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 11
Views: 224

Re: ENC28J60 +php crash on stm32f103ve

I will try to give you another one basic code example. The new example uses a new buffer (buf) with 2048 bytes length. The received bytes are copied to the new buffer. If the <tail> variable is bigger that 0, you can read the received bytes. As I said before, this is a very basic code example and ca...
by Vassilis
Wed Feb 14, 2018 5:52 pm
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 11
Views: 224

Re: ENC28J60 +php crash on stm32f103ve

#include <SPI.h> #include <EtherCard_STM.h> // ethernet interface mac address, must be unique on the LAN static byte mymac[] = { 0x74,0x69,0x69,0x2D,0x30,0x31 }; byte Ethernet::buffer[700]; static uint32_t timer; const char website[] PROGMEM = "82.223.11.159"; static byte server_ip[] = { 82,223,11,...
by Vassilis
Wed Feb 14, 2018 4:04 pm
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 11
Views: 224

Re: ENC28J60 +php crash on stm32f103ve

Code: Select all

Pinging 82.223.11.159 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 82.223.11.159:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
by Vassilis
Wed Feb 14, 2018 3:16 pm
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 11
Views: 224

Re: ENC28J60 +php crash on stm32f103ve

@ramgc The IP in your sketch (82.221.41.158) is not functional (at least to me). Please provide us with a sketch that uses a valid public IP or public domain name.
by Vassilis
Tue Feb 13, 2018 2:59 pm
Forum: General discussion
Topic: Access the PC register through ST-Link V2?
Replies: 11
Views: 205

Re: Access the PC register through ST-Link V2?

- Which operating system do you use ?
- Do you produce the .ELF file in Arduino IDE ?

Maybe the Ultra Simple STM32 Debugger can help you
by Vassilis
Mon Feb 12, 2018 9:42 am
Forum: USB to Serial adaptors
Topic: FT232H - setting DTR high or to input
Replies: 5
Views: 133

Re: FT232H - setting DTR high or to input

Under windows, you can use the termite software to set/clear the DTR output.
Click on DTR icon as it is seen on the picture.
termite.jpg
termite.jpg (84.34 KiB) Viewed 110 times
by Vassilis
Sun Feb 11, 2018 2:10 am
Forum: Code snipplets
Topic: Example for MCP4921 (or MCP4922) 12-bit DAC chips
Replies: 2
Views: 149

Re: Example for MCP4921 (or MCP4922) 12-bit DAC chips

Thanks dannyf for your suggestions. Personally, I am not really interested in DDS. I wrote that sample code because @stm32user asked me how to use the MCP4921 with STM32F103 MCU.
by Vassilis
Sat Feb 10, 2018 11:35 am
Forum: Custom design boards
Topic: STM32-UNO(ARMDuino)
Replies: 10
Views: 253

Re: STM32-UNO(ARMDuino)

Very nice, well done ! One small thing to notice: If you want to use any analog pin (A0-A5) as digital output, the maximum current you can get is 3.3v / 12000 ohm = 0.000275 Amp that is not enough to light an LED. Moreover, the Amp loss through the R11, R13,..,R21 to the GND is 3.3V / 18000 = 0.18 m...
by Vassilis
Sun Feb 04, 2018 8:08 pm
Forum: General discussion
Topic: [Solved] Compile Bin and HEX
Replies: 2
Views: 99

Re: Compile Bin and HEX

Nice but there is no need to add too many lines in platform.txt file just add these too lines at the # compiler variables compiler.elf2hex.bin.flags=-O binary compiler.elf2hex.hex.flags=-O ihex Replace the lines: ## Create hex recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compi...